ppt图表图表类型起始_梅科图表

ppt图表图表类型起始

There are different types of variable width bar charts but two are the most popular: 1) Bar Mekko chart; 2) Marimekko chart.

可变宽度条形图有不同类型,但最受欢迎的有两种:1)Mekko条形图; 2)Marimekko图表。

They differ in the following: while the Bar Mekko chart (BMc) is like a “standard” bar chart, but its bars are of variable width, a Marimekko chart (Mc) is like a 100% stacked bar chart but its bars are of variable width.

它们在以下方面有所不同:虽然Bar Mekko图表 (BMc)像“标准”条形图,但是其条形具有可变宽度, Marimekko图表 (Mc)就像100%堆叠的条形图,但是其条形是可变宽度。

WHY: they are used to show two numerical variables for each category present in the data set; the goal is to make a comparison between the categories, but not between the numerical variables. They are widely used in Dashboards or in Marketing and Sales Presentations, where the categories are usually products, regions, sectors, segments, etc. The numerical variables are typically sales, profits, costs, margins, growth rates, etc. They are not suitable for Distribution, Relationships, or Trends over Time analysis.

为何 :它们用于显示数据集中每个类别的两个数字变量; 目标是在类别之间进行比较 ,而不是在数值变量之间进行比较 。 它们广泛用于仪表板或市场营销和销售演示,其中类别通常是产品,区域,部门,细分市场等。数值变量通常是销售,利润,成本,利润,增长率等。它们不适合用于时间分布,关系或趋势分析。

HOW: is a two-dimensional graph similar to a standard bar chart, with rectangular bars usually arranged in a vertical orientation. The vertical axis has a numerical scale (100% on a Marimekko Chart) and represents one of the quantitative variables. The horizontal axis can be either numerical or categorical. If it is numerical, each rectangle has a width proportional to the value of the second quantitative variable, a different color, and a legend that identifies it. If it is categorical, the width of each bar also indicates the value of the second quantitative variable.

HOW :是一个类似于标准条形图的二维图形,通常以垂直方向排列矩形条。 垂直轴具有数字刻度(在Marimekko图表上为100%),代表定量变量之一。 水平轴可以是数字的,也可以是分类的。 如果是数字,则每个矩形的宽度与第二个定量变量的值成比例,并具有不同的颜色和标识它的图例。 如果是分类的,则每个条的宽度也表示第二个定量变量的值。

The width of the rectangles is generally different for each category. It is always convenient to indicate with numbers or percentages the value of the numerical variable represented on the horizontal axis. These values are usually indicated on the upper baseline.

对于每个类别,矩形的宽度通常是不同的。 用数字或百分比指示水平轴上表示的数字变量的值始终很方便。 这些值通常在较高的基线上指示。

Unlike the standard bar chart, no space is left between the bars (Be careful not to confuse Mekko charts with Histograms [https://towardsdatascience.com/histograms-why-how-431a5cfbfcd5]). In both, BMc and Mc, the entire width of the horizontal axis is occupied.

与标准条形图不同,条形图之间不留任何空间 (请注意不要将Mekko图表与直方图混淆[https://towardsdatascience.com/histograms-why-how-431a5cfbfcd5])。 在BMc和Mc中, 水平轴的整个宽度都被占用

The Mekko Bar chart is an alternative to classic bar charts allowing you to reduce the number of charts in a business presentation. To achieve this, the chart encodes one of the numerical variables by the height of the bars and the other quantitative variable by the width of the bars. The following graph shows a schematic representation of a Mekko Bar chart: a numerical vertical axis; a horizontal axis with variable width bars, each representing a different category. Product lines, sectors, or regions are examples of categories indicated on the horizontal axis. Sales, costs, or profits could be numerical variables represented by the width of the rectangles.

Mekko条形图是经典条形图的替代方案,可让您减少业务演示中的图数。 为实现此目的,图表通过条形图的高度对数值变量之一进行编码,并通过条形图的宽度对另一个定量变量进行编码。 下图显示了Mekko条形图的示意图:数字垂直轴; 具有可变宽度条的水平轴,每个条代表不同的类别。 产品线,部门或区域是横轴上指示的类别的示例。 销售,成本或利润可以是由矩形宽度表示的数字变量。

Image for post
Fig. 1: schematic diagram of a Bar Mekko chart. Created with Vizzlo with permission (#1).
图1:Bar Mekko图表的示意图。 由Vizzlo创建并获得许可(#1)。

The Marimekko Chart is an alternative to grouped bar charts allowing to reduce their number in a business presentation: they show numerical information related to subgroups or subcategories within the main categories. Therefore, this type of visualization allows us to show two numerical values for each category and each subcategory.

Marimekko图表是条形图的替代方案,可减少在业务演示中的数量:它们显示与主要类别中的子类别或子类别相关的数字信息。 因此,这种类型的可视化使我们可以为每个类别和每个子类别显示两个数值。

They occupy an entire rectangular area by dividing it into smaller rectangles. Each category is divided into subcategories indicated by stacked rectangles. Each of these rectangles encodes the numerical values for each subcategory of the data set. They are visually equivalent to stacked bar charts, where in addition to having rectangular segments of varying heights, we now also have variable bar widths.

通过将其分成较小的矩形,它们占据了整个矩形区域。 每个类别分为由堆叠矩形表示的子类别。 这些矩形中的每个矩形都对数据集的每个子类别的数值进行编码。 它们在视觉上等同于堆叠的条形图,在该条形图中,除了具有不同高度的矩形段之外,我们现在还具有可变的条形宽度。

The vertical axis of the graph displays a percentage scale while the horizontal axis is normalized to occupy the entire width of the diagram without leaving any blank space between the bars.

图的垂直轴显示百分比比例,水平轴被标准化以占据图的整个宽度,而在条之间不留任何空白。

Image for post
Fig. 2: a Marimekko chart. Created with Vizzlo with permission (#1).
图2:Marimekko图表。 由Vizzlo创建并获得许可(#1)。

Figure 2 describes in a single graph the annual income of a company separated into its different brands and the percentages corresponding to the different regions. The elements that characterize a Marimekko chart can be seen: a rectangular area divided into smaller rectangles of varying width; vertically stacked rectangles; a horizontal axis that occupies the entire width of the chart; a vertical axis with a percentage scale; total revenues per brand on the top baseline; different bar widths that allow calculating the relative contributions of each brand to the total revenues.

图2在一张图表中描述了一家公司的年收入,这些公司分为不同的品牌,以及对应于不同地区的百分比。 可以看到表征Marimekko图表的元素:将矩形区域划分为宽度不同的较小矩形; 垂直堆叠的矩形; 横轴占据图表的整个宽度; 带有百分比刻度的垂直轴; 在最高基准上每个品牌的总收入; 不同的条形宽度,可以计算每个品牌对总收入的相对贡献。

Source of the word: Marimekko is a Finnish textile brand that has large and varied shape patterns, as well as simple and bright colors and styles (#2).

词源:Marimekko是芬兰的一个纺织品牌,具有多种多样的形状图案,以及简单明亮的颜色和样式(#2)。

Warnings:

警告:

Both Bar Mekko Charts and Marimekko Charts are difficult to read and interpret because they are based on audiences’ ability to decode numerical information by comparing areas. It is essential to keep in mind that humans are good at evaluating distances and bad at calculating areas. In addition, as the number of rectangles increases, our ability to make a proper comparison of the different areas decreases.

Bar Mekko图表和Marimekko图表都难以阅读和解释,因为它们基于观众通过比较区域对数字信息进行解码的能力。 必须记住,人类擅长评估距离而擅长计算面积。 此外,随着矩形数量的增加,我们对不同区域进行适当比较的能力也会降低。

Marimekko diagrams suffer from the same drawbacks as stacked bar charts: a) there is a practical limit to the number of subcategories, beyond which visualization becomes difficult; b) the best comparisons are made between subcategories near the lower and upper baselines. As we move away from them, the differences between the subcategories become very difficult to evaluate.

Marimekko图具有与堆积条形图相同的缺点:a)子类别的数量存在实际限制,超过该限制,可视化将变得困难; b)在上下基线附近的子类别之间进行最佳比较。 随着我们远离它们,很难评估子类别之间的差异。

Be cautious with the repeated use of Mekko charts: remember that rectangular bars are very “heavy” and dominant visual markers.

重复使用Mekko图表时要小心:记住矩形条非常“重”并且是主要的视觉标记。

Note that audiences are usually very familiar with traditional bar charts but not with variable width ones. If you have Mcs or BMcs in your presentation, take some time to explain to the audience the particular characteristics of them so as not to impair the storytelling.

请注意,观众通常对传统的条形图非常熟悉,但对可变宽度的条形图则不太熟悉。 如果您的演示文稿中包含Mcs或BMcs,请花一些时间向听众解释它们的特殊特征,以免影响故事的讲述。

Marimekko Charts cannot show negative values, nor can they combine absolute values with relative values.

Marimekko图表不能显示负值,也不能将绝对值和相对值组合在一起。

Some visualization tools allow you to switch between a vertical and a horizontal layout. However, in the usual practice the vertical layout is used since the horizontal one complicates the storytelling unnecessarily.

一些可视化工具允许您在垂直和水平布局之间切换。 然而,在通常的实践中,由于水平布置不必要地使讲故事复杂化,因此使用垂直布置。

Do not confuse Mcs with spineplots. In its most rigorous definition, a spineplot is a one-dimensional, horizontal stacked bar graph used to display frequencies, proportions, or percentages of two cross-classified categorical variables in contingency tables (#3). The confusion arises because some spineplots visualization tools allow a vertical orientation, which they call mosaic plots. This term is also erroneously attributed to the Marimekko Charts but should be reserved for those charts that allow examining the relationship between two or more categorical variables by means of variable-width rectangles.

不要将Mcs与spineplots混淆 。 在其最严格的定义中, 旋转旋转图是一维的水平堆叠的条形图,用于在列联表(#3)中显示两个交叉分类的分类变量的频率,比例或百分比。 之所以会出现这种混乱,是因为某些旋转图的可视化工具允许垂直定向,他们将其称为镶嵌图 。 该术语也被误认为是Marimekko图表,但应保留给那些允许使用可变宽度矩形检查两个或多个分类变量之间关系的图表。

I did not find plotting functions in Python that allow direct graphing of Mcs or BMcs. A Stack Overflow user coded a strategy to plot Bar Mekko charts with Matplotlib using bar charts to which the width of each bar is individually modified using the width parameter (#4). I made minor modifications to his code to get the following figure, a fairly close approximation to a Bar Mekko chart.

我在Python中找不到允许直接绘制Mcs或BMcs的绘图函数。 Stack Overflow用户编码了一种策略,该策略使用条形图通过Matplotlib绘制Bar Mekko图,使用宽度参数(#4)分别修改每个条的宽度 。 我对其代码进行了少量修改,以得到下图,非常接近Bar Mekko图表。

Image for post

On the other hand, version 12.0 of statsmodels allows the creation of mosaic graphics from contingency tables (statsmodels.graphics.mosaicplot.mosaic). The following figure and the code to draw it can be found in the following page of the statsmodels organization:

另一方面,版本12.0的statsmodels允许从列联表( statsmodels.graphics.mosaicplot.mosaic )创建镶嵌图形。 下图和绘制它的代码可以在statsmodels组织的以下页面中找到

https://www.statsmodels.org/stable/generated/statsmodels.graphics.mosaicplot.mosaic.html

https://www.statsmodels.org/stable/generation/statsmodels.graphics.mosaicplot.mosaic.html

As can be seen in the following figure, mosaic graphs indicate categorical variables on both the horizontal and vertical axis (#5):

如下图所示,镶嵌图在水平和垂直轴(#5)上均指示类别变量:

Image for post

To summarize: the most important conceptual idea related to the Mekko Charts lies in their ability to appropriately weight the magnitude of one of the numerical variables. Traditional bar charts in all their variants (standard, grouped, stacked, overlapping, etc.) use the same bar width for all categories and therefore only make comparisons by means of the length or height of a single numerical variable. The variable width in the Mekko Charts allows us to show in a single graph the relative value of the second numerical variable. In contrast, they have low visual effectiveness: the accuracy and clarity of the coded information that reaches the audience is relatively low.

总结:在自己适当地加权数值变量之一的大小,能力有关美康图表谎言最重要的概念想法。 传统条形图的所有变体(标准,分组,堆叠,重叠等)对所有类别都使用相同的条形宽度,因此只能通过单个数字变量的长度或高度进行比较。 Mekko图表中的变量宽度使我们可以在单个图形中显示第二个数字变量的相对值。 相反,它们的视觉效果很差 :到达受众的编码信息的准确性和清晰度相对较低。

If you find this article of interest, please read my previous:

如果您发现这篇文章感兴趣,请阅读我以前的文章:

“Histograms, Why & How, Storytelling, Tips & Extensions”

“直方图,原因和方式,讲故事,提示和扩展”

“All You Need to Know About Bar Graphs”

“您需要了解的有关条形图的所有信息”

#1: https://vizzlo.com/

#1: https : //vizzlo.com/

#2: https://en.wikipedia.org/wiki/Marimekko

#2: https : //en.wikipedia.org/wiki/Marimekko

#3: Fox, N., “Speaking Stata: Spineplots and their kin”, The Stata Journal (2008), 8, Number 1, pp. 105–121

#3:北卡罗来纳州福克斯(Fox,N.),“讲故事的国家:Spineplots及其亲属”,《国家统计》(The Stata Journal)(2008),第8期,第1期,第105–121页

#4:https://stackoverflow.com/questions/57164333/bar-chart-with-different-widths-and-colors-in-matplotlib-bar-mekko-chart

#4:https://stackoverflow.com/questions/57164333/bar-chart-with-different-widths-and-colors-in-matplotlib-bar-mekko-chart

#5: https://www.statsmodels.org/stable/generated/statsmodels.graphics.mosaicplot.mosaic.html

#5: https : //www.statsmodels.org/stable/generation/statsmodels.graphics.mosaicplot.mosaic.html

翻译自: https://towardsdatascience.com/mekko-charts-f38311c576e2

ppt图表图表类型起始

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/389951.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Tomcat日志乱码了怎么处理?

【前言】 tomacat日志有三个地方,分别是Output(控制台)、Tomcat Localhost Log(tomcat本地日志)、Tomcat Catalina Log。 启动日志和大部分报错日志、普通日志都在output打印;有些错误日志,在Tomcat Localhost Log。 三个日志显示区,都可能…

5888. 网络空闲的时刻

5888. 网络空闲的时刻 给你一个有 n 个服务器的计算机网络,服务器编号为 0 到 n - 1 。同时给你一个二维整数数组 edges ,其中 edges[i] [ui, vi] 表示服务器 ui 和 vi 之间有一条信息线路,在 一秒 内它们之间可以传输 任意 数目的信息。再…

django框架预备知识

内容: 1.web预备知识 2.django介绍 3.web框架的本质及分类 4.django安装与基本设置 1.web预备知识 HTTP协议:https://www.cnblogs.com/wyb666/p/9383077.html 关于web的本质:http://www.cnblogs.com/wyb666/p/9034042.html 如何自定义web框架…

现实世界 机器学习_公司沟通分析简介现实世界的机器学习方法

现实世界 机器学习In my previous posts I covered analytical subjects from a scientific point of view, rather than an applied real world problem. For this reason, this article aims at approaching an analytical idea from a managerial point of view, rather tha…

拷贝构造函数和赋值函数

1、拷贝构造函数:用一个已经有的对象构造一个新的对象。 CA(const CA & c )函数的名称必须和类名称相一致,它的唯一的一个参数是本类型的一个引用变量,该参数是const 类型,不可变。 拷贝构造函数什么时…

Chrome keyboard shortcuts

2019独角兽企业重金招聘Python工程师标准>>> Chrome keyboard shortcuts https://support.google.com/chrome/answer/157179?hlen 转载于:https://my.oschina.net/qwfys200/blog/1927456

数据中心细节_当细节很重要时数据不平衡

数据中心细节定义不平衡数据 (Definition Imbalanced Data) When we speak of imbalanced data, what we mean is that at least one class is underrepresented. For example, when considering the problem of building a classifier, let’s call it the Idealisstic-Voter.…

辛普森悖论_所谓的辛普森悖论

辛普森悖论We all know the Simpsons family from Disneyland, but have you heard about the Simpson’s Paradox from statistic theory? This article will illustrate the definition of Simpson’s Paradox with an example, and show you how can it harm your statisti…

查看NVIDIA使用率工具目录

2019独角兽企业重金招聘Python工程师标准>>> C:\Program Files\NVIDIA Corporation\Display.NvContainer\NVDisplay.Container.exe 转载于:https://my.oschina.net/u/2430809/blog/1927560

余弦相似度和欧氏距离_欧氏距离和余弦相似度

余弦相似度和欧氏距离Photo by Markus Winkler on UnsplashMarkus Winkler在Unsplash上拍摄的照片 This is a quick and straight to the point introduction to Euclidean distance and cosine similarity with a focus on NLP.这是对欧氏距离和余弦相似度的快速而直接的介绍&…

七、 面向对象(二)

匿名类对象 创建的类的对象是匿名的。当我们只需要一次调用类的对象时,我们就可以考虑使用匿名的方式创建类的对象。特点是创建的匿名类的对象只能够调用一次! package day007;//圆的面积 class circle {double radius;public double getArea() {// TODO…

机器学习 客户流失_通过机器学习预测流失

机器学习 客户流失介绍 (Introduction) This article is part of a project for Udacity “Become a Data Scientist Nano Degree”. The Jupyter Notebook with the code for this project can be downloaded from GitHub.本文是Udacity“成为数据科学家纳米学位”项目的一部分…

Qt中的坐标系统

转载:原野追逐 Qt使用统一的坐标系统来定位窗口部件的位置和大小。 以屏幕的左上角为原点即(0, 0)点,从左向右为x轴正向,从上向下为y轴正向,这整个屏幕的坐标系统就用来定位顶层窗口; 此外,窗口内部也有自己…

预测股票价格 模型_建立有马模型来预测股票价格

预测股票价格 模型前言 (Preface) If you are reading this, it’s most likely because you love to solve puzzles. I’m a very competitive person by nature. The Mt. Everest of puzzles, in my opinion, is trying to find excess returns through active trading in th…

Python 模块 timedatetime

time & datetime 模块 在平常的代码中,我们常常需要与时间打交道。在Python中,与时间处理有关的模块就包括:time,datetime,calendar(很少用,不讲),下面分别来介绍。 在开始之前,首先要说明几…

柠檬工会_工会经营者

柠檬工会Hey guys! This week we’ll be going over some ways to work with result sets in MySQL. These result sets are the outputs of your everyday queries, such as:大家好! 本周,我们将介绍一些在MySQL中处理结果集的方法。 这些结果集是您日常…

写给Java开发者看的JavaScript对象机制

帮助面向对象开发者理解关于JavaScript对象机制 本文是以一个熟悉OO语言的开发者视角,来解释JavaScript中的对象。 对于不了解JavaScript 语言,尤其是习惯了OO语言的开发者来说,由于语法上些许的相似会让人产生心理预期,JavaScrip…

大数据ab 测试_在真实数据上进行AB测试应用程序

大数据ab 测试Hello Everyone!大家好! I am back with another article about Data Science. In this article, I will write about what is A-B testing and how to use it on real life data-set to compare two advertisement methods.我回来了另一篇有关数据科…

node:爬虫爬取网页图片

前言 周末自己在家闲着没事,刷着微信,玩着手机,发现自己的微信头像该换了,就去网上找了一下头像,看着图片,自己就想着作为一个码农,可以把这些图片都爬取下来做成一个微信小程序,说干…

如何更好的掌握一个知识点_如何成为一个更好的讲故事的人3个关键点

如何更好的掌握一个知识点You’re launching a digital transformation initiative in the middle of the ongoing pandemic. You are pretty excited about this big-ticket investment, which has the potential to solve remote-work challenges that your organization fac…