window程序设计学会

Pie charts are common in data science — next to the

饼形图在数据科学中很常见-

bar chart and the line plot, the pie chart is incredibly standard and simple. A circle is split into several slices, with each slice’s angle representing how large its value is. It is a standard and allows for quick comparison of values, but there’s so much that can go wrong.条形图和折线图,饼图非常标准和简单。 一个圆被分成几个切片,每个切片的角度代表其值的大小。 这是一个标准,可以快速比较值,但是有很多地方可能出错。

Unlike most charts, like bar charts, box plots, line plots, etc., pie charts don’t have an x-axis and a y-axis that are orthogonal — the types of plots humans can more instinctively understand. The circular plot can be more difficult to communicate effectively — so in this article, I’ll present five tips you can use to avoid pie chart pitfalls and deliver the message.

与大多数图表(如条形图,箱形图,折线图等)不同,饼图不具有正交的x轴和y轴-人类可以更直观地了解这些图的类型。 圆形图可能更难以有效地传达-因此,在本文中,我将介绍五个技巧,您可以使用这些技巧来避免饼图陷阱并传递消息。

1 | 不要使用鲜艳的颜色,而要使用鲜艳的颜色。 (1 | Don’t use bright colors, use vibrant ones.)

Unlike bar charts, pie charts should have colors that are vibrant. The reasoning behind this is that bars in bar charts are separated.

与条形图不同,饼图应具有鲜艳的颜色。 其背后的原因是条形图中的条形是分开的。

Because they are separated, it’s easier to separate the discrete x-variable into its classes. With a pie chart that is colored too similarly, however, because the slices can be thought of as being continuous (they are right next to each other), it is less easy to pick apart where one slice stops and where another begins, especially for someone with reduced vision (about 1 in 10 men have some form of color blindness).

因为它们是分开的,所以将离散的x变量分成其类更容易。 但是,由于饼图的颜色过于相似,因为可以将切片视为连续的(彼此紧挨着),所以很难区分出一个切片停止和另一个切片开始的位置,尤其是对于视力低下的人(约十分之一的男人患有某种形式的色盲)。

In addition, whereas bar charts have a clear beginning and end on the x-axis, pie charts are circular. There really isn’t a beginning or an end place to start — so why is it warranted that the darkest shade starts with Java, then Ruby, and so on — and not starting with some other shade or direction?

此外,条形图在x轴上具有清晰的起点和终点,而饼图则是圆形的。 确实没有开始或结束的地方-那么为什么要保证最暗的阴影从Java开始,然后从Ruby等开始,而不是从其他阴影或方向开始?

Instead, use colors that more easily differentiable. While they should still be muted (not bright), it’s much more easy to differentiate between different sections. In addition, it doesn’t give the false impression of continuity between slices — each slice is its own, discrete bucket. The insinuation that the pie slices are linked in some way by using similar shades is false.

而是使用更容易区分的颜色。 尽管它们仍然应该静音(不亮),但区分不同部分要容易得多。 此外,它不会给片之间的连续性带来错误的印象-每个片都是其自己的离散存储桶。 通过使用相似的阴影以某种方式链接饼图的暗示是错误的。

Standard ‘Google’ or ‘Microsoft’ colors work well too.

标准的“ Google”或“ Microsoft”颜色也可以很好地工作。

In my previous article on bar charts, I also talked about using w3school’s color picker. For bar charts, I recommended picking one color and selecting various brightness levels (the ‘Lighter / Darker’ column below), but for pie charts, you should rotate colors in a circle among the base-color hexagon. Stick along the outside, and move a bit further along the perimeter for a new color.

在我以前关于条形图的文章中,我还谈到了使用w3school的颜色选择器。 对于条形图,我建议选择一种颜色并选择各种亮度级别(下面的“较浅/较深”列),但是对于饼形图,您应该在基本色六边形之间以圆圈旋转颜色。 沿外部粘贴,然后沿周边进一步移动以产生新的颜色。

Even though we are choosing vibrant colors to differentiate pieces, they should be organized so that the colors make sense and are not jarring. For each color, use your best judgement on the brightness color to use (it should be dimmed and not glaring).

即使我们选择鲜艳的色彩来区分作品,也应将它们进行组织,以使色彩有意义且不会刺耳。 对于每种颜色,请最好地判断要使用的亮度颜色(该颜色应变暗而不刺眼)。

This will make comparison between slices much easier and allow for a clean feel.

这将使切片之间的比较容易得多,并且感觉干净。

2 | 停止爆炸切片。 请。 (2 | Stop exploding slices. Please.)

Often, people will explode certain slices of a pie chart to draw more attention to it. By drawing a slice, especially a large slice, away from the pie, it makes comparison difficult. A pie chart is designed for percentages — not absolute values — which means the primary goal is to compare.

通常,人们会爆炸饼图的某些部分以引起更多关注。 通过从饼图上绘制一个切片,尤其是大切片,将使比较变得困难。 饼图是针对百分比而非绝对值而设计的,这意味着比较的主要目标。

By pulling out one slice, it makes it more difficult for the reader to compare the slices — the viewer must piece back the piece in their own minds. In addition, percentages are supposed to add up to 100%, so why would you pull out a slice? What makes the pie chart a useful and standard chart is that it has some aspect of continuity — the perimeter is a smooth curve, and packs all the data in. This is disrupted with exploded segments.

通过拉出一个片段,阅读者比较这些片段变得更加困难-观看者必须在自己的脑海中整理片段。 另外,百分比总计应该达到100%,那么为什么要掏出一块呢? 饼图成为有用且标准的图表的原因在于它具有某种连续性-外围是平滑的曲线,并且将所有数据打包在一起。这被爆炸的分段打乱了。

Exploding two slices is worse — how is anyone supposed to compare anything? The pie chart might as well be like this.

爆炸两片更糟-任何人都应该比较任何东西? 饼图也可能像这样。

When slices are pulled out of the tight, neat circle that binds them, it removes the aspect of ‘adding up to 100%’ that makes the pie chart effective. Otherwise, it becomes similar to a bar chart, where nothing really adds up to 100% but the pieces are semi-comparable.

当将切片从束缚它们的紧密,整齐的圆圈中拉出时,它消除了使饼图生效的“相加达到100%”的方面。 否则,它变得类似于条形图,在该条形图中,没有任何东西合计达到100%,但各部分之间是半可比的。

Instead, use color to brighten the color you wish to emphasize and dim the rest. This will draw attention to whatever piece you wish to emphasize. However, be careful with the dimmed colors — because all colors converge at white when they are dimmed, the boundaries may begin to interfere. In this case, using a small explosion (0.01 inches, in this case) to create pie-separating lines maintains the signature adds-to-100 look while drawing attention to a certain part of the pie chart.

而是使用颜色来加亮您想要强调的颜色并使其余颜色变暗。 这将引起您对任何您想强调的部分的注意。 但是,请注意变暗的颜色-因为变暗时所有颜色会收敛为白色,所以边界可能会开始干涉。 在这种情况下,使用较小的爆炸(在这种情况下为0.01英寸)创建饼图分隔线,可以在增加对饼图某一部分的注意力的同时,保持签名增加到100的外观。

3 | 没有特殊效果,期限。 (3 | No special effects, period.)

This one’s quick and easy. You don’t need to explore every option in your plotting library. Don’t add shadows, don’t rotate labels, don’t do anything that isn’t absolutely necessary to communicating your data clearly.

这很容易。 您无需探索绘图库中的每个选项。 不要添加阴影,不要旋转标签,不要做对清楚地传达数据绝对不需要的任何事情。

One particular aspect of shadows is that it gives the pie chart a three-dimensional look. Pie charts are inherently two-dimensional. It compares two variables, so it should only be two-dimensional. Even though 3-d charts are generally effective, if there were three variables, depth of each slice might be a more reasonable use of three-dimensional looks in pie charts.

阴影的一个特定方面是它使饼图具有三维外观。 饼图本质上是二维的。 它比较两个变量,因此只能是二维的。 尽管3-d图表通常是有效的,但如果存在三个变量,则每个切片的深度在饼图中可能更合理地使用了三维外观。

4 | 没有传说。 (4 | No legends.)

Adding a legend forces the viewer to alternate between the legend and the actual plot. It’s much easier for the viewer just to label right on the diagram which segment is what.

添加图例会迫使观看者在图例和实际图之间切换。 对于查看者而言,仅在图上正确标记哪个段是什么就容易得多。

5 | 最多5片。 (5 | 5 slices maximum.)

Too many slices distracts from the main point of the chart. The ultra-small slices are so small that they can’t even be reasonably compared, and the labels begin to overlap.

太多的切片分散了图表的重点。 超小切片是如此之小,以至于甚至无法进行合理比较,并且标签开始重叠。

5 slices is the maximum — either 5 distinct slices, or 4 slices and one for ‘Other’. This way, the number of slices is manageable and comparable. We can look at the most important slices without discarding the idea of adding up to 100%, which also gives us a more complete idea of the true distribution. Writing how many items are in ‘Other’ will help give a better idea of the sizes of items within that category.

最多5片-5个不同的片或4片,其中一个代表“其他”。 这样,片的数量是可管理的并且是可比较的。 我们可以查看最重要的片段,而不会放弃将100%相加的想法,这也使我们对真实分布有了更完整的想法。 写下“其他”中的项目数将有助于更好地了解该类别中项目的大小。

If you enjoyed, you may also like 5 Tips to Stop Doing Bar Charts Wrong.

如果喜欢,您可能还会喜欢5条停止制作条形图的提示 。

翻译自: https://uxdesign.cc/5-tips-to-stop-doing-pie-charts-wrong-67fbd2c1db08

window程序设计学会


http://www.taodudu.cc/news/show-893956.html

相关文章:

  • 培训师 每小时多少钱_每个产品设计师需要了解的品牌知识
  • 七月时忙碌而充实的_如何减少忙碌而更有效
  • ui设计卡片阴影_UI设计形状和对象基础知识:阴影和模糊
  • 如何进入游戏行业_进入设计行业
  • ux设计中的各种地图_UX设计中的格式塔原理
  • 善用工具_如何善用色彩心理学
  • 1.1编写目的_1.目的
  • ux和ui_设计社交餐厅策展应用程序— UX / UI案例研究
  • 模板缓冲_模板缓冲以及如何使用它可视化体积相交
  • b端 ux 设计思维_借助系统思维从视觉设计过渡到UX
  • figma下载_Figma的自动版式实用
  • lottie 动画_使用After Effects和Lottie制作网络动画而不会损失质量
  • 模式匹配 怎么匹配减号_如何使您的应用导航与用户的思维模式匹配
  • ux的重要性_颜色在UX中的重要性
  • element-ui表单_每日UI挑战强加-登录表单(分步教程)
  • shields 徽标_徽标不够用时如何设计应用程序图标
  • zoom 用户被锁定_重新考虑Zoom的用户体验
  • ui设计看的书_5本关于UI设计的书
  • 案例研究设计与方法-罗伯_旭进口重新设计-用户体验案例研究
  • axure rp 创建弹框_如何在Axure RP 9中创建交换机
  • 界面设计语言_使用任何语言设计界面的提示
  • hp-ux锁定用户密码_UX设计101:提出正确的问题-规划和促进用户访谈
  • mac基本操作技巧_6个基本设计技巧
  • stack smash_扶手椅VGUX:Super Smash Bros.Ultimate
  • 全库模式 用户模式 表模式_暗模式,亮模式和用户的故事
  • ios 刷新遮罩遮罩_在Adobe XD中进行遮罩的3种方法
  • 图像标注技巧_保护互联网上图像的一个简单技巧
  • ar软件测试工具_如何为用户测试制作快速的AR原型
  • 未来ui设计的发展趋势_2025年的未来UI趋势?
  • CSSyphus:烦躁不安的烦恼设计指南。

window程序设计学会_是时候我们学会设计合适的饼图了相关推荐

  1. python是人都能学会_人人都能学会的python编程教程15:高级特性2

    生成器 如果你想要一百万个数,而这些数里只有一百个数是你经常要用的,剩下的都几乎不怎么会用到,那么如果直接把这一百万个数全部放在list中是不明智的因为这会浪费较多存储空间,生成器就是为了解决这个问题 ...

  2. 五邑大学安卓开发程序设计报告_五邑大学模拟电路课程设计报告模板.docx

    五邑大学模拟电路课程设计报告模板 模拟电路课程设计 PAGE10 / NUMPAGES10 模拟电路课程设计报告 课程题目:二阶低通滤波器和50HZ陷波滤波器 院系名称: 专业名称: 班级: 学号: ...

  3. C++语言程序设计视频教程_清华大学_郑莉(基础篇+进阶篇)

    C++语言程序设计视频教程_清华大学_郑莉(基础篇) 第一章:绪论 1.1 导学 1.2 计算机系统简介 1.3计算机语言和程序设计方法的发展 1.4 面向对象的基本概念 1.5 程序的开发过程 1. ...

  4. c语言运行时更入下一行,C语言高级语言程序设计(一)_第二章 C程序设计基础(二).ppt...

    C语言高级语言程序设计(一)_第二章 C程序设计基础(二) * 问a,b能否交换?不能.示例 传值调用 如何改变参数的值?在后续章节中介绍 下:传值 * 传值的好处 下:问题3.2 * * * 使用范 ...

  5. c/c++语言程序设计题库,CD2_计算机实践《C/C++语言程序设计》_题目列表.doc

    CD2_计算机实践<C/C语言程序设计>_题目列表 C语言程序设计计算机实践题目 [2011.6修订] A类-简单题 [最高分80,良好]1 B类-中等难度题 [最高分90,优秀]4 C类 ...

  6. 学会php又忘了,要学会忘记的说说,学会忘记一个人的说说

    1,每天都是新的一天,学会忘记痛苦与不愉快,为阳光记忆腾出空间! 2,放下其实也是一种美丽.学会忘记,享受孤独!给自己一个坚强的理由.或勇气.或珍惜.或幸福. 3,每个阶段都会遇到不同的人,这些人让你 ...

  7. “青软杯”安徽科技学院第六届程序设计大赛_专业组

    Contest - "青软杯"安徽科技学院第六届程序设计大赛_专业组 Start time:  2015-04-18 08:00:00.0  End time:  2015-04- ...

  8. c语言8行7列星号矩形,C语言程序设计课件_完整版.ppt

    C语言程序设计课件_完整版.ppt C语言程序设计;第一章 C语言概述;1.1 C语言出现的历史背景;1.2 C语言的发展史;1.3 C语言的特点;1.4 C语言的基本程序结构;main函数位置任意, ...

  9. #今日论文推荐#1小时学会走路,10分钟学会翻身,世界模型让新生机器狗掌握多项技能

    #今日论文推荐#1小时学会走路,10分钟学会翻身,世界模型让新生机器狗掌握多项技能 人类宝宝在出生后的第1年里,就会逐渐掌握协调能力,学习坐.立.翻滚和爬行. 那么机器人呢? 机器人能完成多复杂的任务 ...

最新文章

  1. 机房空调制冷、加热、加湿、除湿这些功能如何应用?
  2. Error while adding the mapper ‘interface *****类‘ to configuration报错原因
  3. 美加州希望立法叫停加密手机
  4. python多线程没用_Python中的多线程cv2.imshow()不起作用
  5. java文件快速扫描仪_有没有办法从Java中的方法提供自动扫描仪输入?
  6. Python全栈学习_day010作业
  7. 火箭08-09赛程列表
  8. Heapsort 代码 学习笔记 阳春三月版
  9. 升级mac系统正在计算机,苹果笔记本系统升级_苹果电脑Mac系统怎么升级
  10. MBR+双硬盘(固态+机械)双系统(win+ubuntu21.04)装机教程
  11. 漫谈格兰杰因果关系(Granger Causality)
  12. VC++ 绘制线条 OnLButtonDown函数(DrawView.cpp) 利用SDK全局函数实现画线功能 利用MFC的CDC类实现画线功能 利用MFC的CClientDC类实现画线功能
  13. Linux:shell 脚本 自动解压压缩文件tar.gz到指定目录
  14. P4735 最大异或和(可持久化字典树 ? 主席树)
  15. 多基因风险预测模型2--相关概念和软件
  16. echarts初步使用
  17. 部署微信小程序需要做的准备
  18. Cocos2d-x开发网络游戏
  19. 解密大清社会:红楼韵事
  20. zephir-开篇介绍

热门文章

  1. wp网站链接不带html,解决WordPress网站带与不带WWW网址跳转问题
  2. php代码加注释_怎么在php中添加注释
  3. 小程序 生成条形码barcode.js
  4. ECMA6--字符串/数组
  5. 10.static_extern
  6. 纯css改变下拉列表select框的默认样式
  7. 微信支付现金红包接口(转)
  8. mysql linux文件_MySQL在Linux系统下配置文件详解
  9. vsftp账号_Linux入门-CentOS7安装vsftp
  10. linux终端机详解,Linux reset设定终端机的状态命令详解