avatarWeronika Gawarska-Tywonek

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

3455

Abstract

</i></li><li><i>showing multiselection question</i></li><li><i>showing one measure in different populations</i></li></ul><figure id="f22a"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*2kH6cevdK3M8-e9ZBiCF_w.png"><figcaption></figcaption></figure><figure id="da9c"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*8r3RPcSU_EDgF9nQRrSZYQ.png"><figcaption></figcaption></figure><h2 id="4f78">Pie charts with too many categories</h2><p id="e045">Pie charts are only useful for showing a simple share of the total (preferably for two or three categories). If you want to compare more categories use a bar chart instead. The comparison is much easier and an additional advantage is limiting the palette to a single color.</p><figure id="6519"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*5_vAa5z4BNC4UmXExzEIMg.png"><figcaption></figcaption></figure><figure id="c617"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*7DdTE7KnE58-avx2TVXXPA.png"><figcaption></figcaption></figure><h2 id="64cf">Stacked bar charts to compare different categories over time</h2><p id="6b11">Bar charts are great to show precise value — the human eye is best accommodated to see differences in length, but jumping from one column to the other while checking the category and the axis is just too much. The best solution is to use a line chart, instead. This way we can focus on the slope which immediately indicates the change over time. And if we place category names next to the line we don’t have to jump between the chart and the legend.</p><figure id="5f8f"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*249F0lFrUy0_MBo1Un3p3g.png"><figcaption></figcaption></figure><figure id="b4b1"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*3fraar2MGIO8q-63P0Ieqg.png"><figcaption></figcaption></figure><h2 id="0132">Line chart for connecting categorical data</h2><p id="9128">Connecting the points suggests a connection and continuity between them. That’s why categorical data should not be placed on the x-axis of the line chart. Based on the length of the category name we should use a bar chart or a column chart. If text is not oriented horizontally it becomes harder (and slower) to read. That’s why when we have categories with longer names we should use a bar chart. On the x-axis of the line chart, you should put a continuous measure, preferably time-related.</p><figure id="643d"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*J8V7CYXhrz50S2_kanBy9w.png"><figcaption></figcaption></figure><figure id="198e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*o1_l-ADSvnrshb5EdYZqUw.png"><figcaption></figcaption></figure><h2 id="2abf">A column chart that doesn’t starts at zero</h2><p id="1557">In general, the default approach should be including 0 in the axis of all charts. There are some exceptions to this rule for example when you encode your data with the position — like in the line chart, dot chart, or scatter plot. But if we encode our data with the length we <b>SHOULD ALWAYS INCLUDE 0</b> otherwise, the chart will be misleading. Compare the examples below — on both charts we have the same data but on the left side the difference is exaggerated and the last category looks 5 times bigger than the first one when in fact it is only 28% bigger.</p><figure id="b09b"><img src="https://cdn-images-1.readmedium.com/v2/r

Options

esize:fit:800/0*Y64xtFq-W8ECOeOj.png"><figcaption></figcaption></figure><figure id="0103"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*unklsd4xWnhk_1qV.png"><figcaption></figcaption></figure><h2 id="93a0">Not providing context</h2><p id="8e1c">We should not cherry-pick the data to support the story. It is especially important when we are choosing a timeframe, and picking the categories to compare our data against. To provide proper context we should consider:</p><ul><li><b>history </b>— and provide a wider range of dates</li><li><b>periodicity </b>— provide at least two cycles</li><li><b>surrounding </b>— show your data against the competition, other categories, or countries</li></ul><figure id="b367"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*yxLcFG4aXpgI-9Zc.png"><figcaption></figcaption></figure><figure id="f41e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/0*ipHWgm7Rb9xtseFL.png"><figcaption></figcaption></figure><h2 id="43aa">Using two Y-Axes</h2><p id="e9f5">Why using dual axes is not ideal? When we have separate axes we can manipulate the scale and the magnitude can shrink or expand for each metric. This is typically done to imply correlation and causation. Just because the lines are synchronized it doesn’t mean there is an actual correlation — it might be the effect of scale manipulation.</p><figure id="c13a"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*zzEgxyRdDpKg5J9xWGwjkg.png"><figcaption></figcaption></figure><figure id="ee02"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*7nuYxg6IwK_XNL-nZLeplw.png"><figcaption></figcaption></figure><h1 id="b732">Useful links and resources</h1><ul><li><a href="https://www.amazon.com/Functional-Art-introduction-information-visualization/dp/0321834739/ref=asap_bc?ie=UTF8"><i>The Functional Art: An introduction to information graphics and visualization</i></a></li><li><a href="https://www.amazon.com/Advanced-Presentations-Design-Creating-Communication/dp/1118347919"><i>Advanced Presentations by Design: Creating Communication that Drives Action</i></a></li></ul><h1 id="6641">Further dataviz inspirations</h1><div id="1336" class="link-block"> <a href="https://readmedium.com/10-design-principles-2c5860810534"> <div> <div> <h2>Learn these 10 design principles to take your dashboards to the next level.</h2> <div><h3>Dashboard Design Guidelines not only for beginners.</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*cDVxYyjKQuDWALT4iGXOzQ.gif)"></div> </div> </div> </a> </div><div id="b696" class="link-block"> <a href="https://readmedium.com/dataviz-essential-resources-where-to-start-your-journey-a6478ad3b278"> <div> <div> <h2>Dataviz essential resources: where to start your journey?</h2> <div><h3>The beginner’s fast-track</h3></div> <div><p>medium.com</p></div> </div> <div> <div style="background-image: url(https://miro.readmedium.com/v2/resize:fit:320/1*mgp_5P63-vVaywZ3Pem4Vg.png)"></div> </div> </div> </a> </div></article></body>

Designed by Freepik

Poor chart choices that I made so you can avoid them

How NOT to use pie charts, line charts, and bar charts

You probably have seen some charts that seem to look okay, but there is something strange with them. They are either hard to understand or they deliver misleading insight. I guess each one of us has a chart like this in our portfolio.

I was going through my old work and, unfortunately, I came across … plenty of examples. So I decided to share some of the most common mistakes that I used to make, with some alternatives on how to avoid them.

But first, let’s take a step back and think about a good chart? Do you know what defines it? Many people think that the crucial thing for a chart is its beauty but in fact, what really matters is its functionality.

Graphics, charts, and maps aren’t just tools to be seen, but to be read and scrutinized. The first goal of an infographic is not to be beautiful just for the sake of eye appeal, but, above all, to be understandable first, and beautiful after that; or to be beautiful thanks to its exquisite functionality.

Cairo, Alberto. The Functional Art.

Always start with the purpose

There is no mystical knowledge behind selecting a proper chart. You should be guided by the purpose and choose the chart based on that. There are some materials that come in handy while making this decision. One of them is the diagram by Dr. Andrew Abela titled Chart Suggestion — A Thought Starter.

As you can see the central point of this diagram is selecting a purpose by answering the question “What would you like to show?”. You can choose one out of four choices:

  1. Comparison
  2. Distribution
  3. Composition
  4. Relationship

By specifying other areas such as the number of variables and periods you end up with the chart that is best suited for your specific case.

Although the graph might seem quite complicated, it covers all of the steps of picking the right chart. And what would happen if you don’t follow this graph? Well, check these common examples of chart misusage.

Pie charts that don’t sum up to 100%

Using a pie chart, in general, is not recommended but for sure you should not use it if the data sum up to more than 100%. As you can see from the graph above the purpose of the pie chart is to show the share of the total. The ideal use case for a pie chart is showing a composition of two or three categories among the whole population, such as gender or dichotomic answers (yes/no, good/bad, agree/disagree).

Common cases when data doesn’t sum up to 100%:

  • not including all categories
  • showing multiselection question
  • showing one measure in different populations

Pie charts with too many categories

Pie charts are only useful for showing a simple share of the total (preferably for two or three categories). If you want to compare more categories use a bar chart instead. The comparison is much easier and an additional advantage is limiting the palette to a single color.

Stacked bar charts to compare different categories over time

Bar charts are great to show precise value — the human eye is best accommodated to see differences in length, but jumping from one column to the other while checking the category and the axis is just too much. The best solution is to use a line chart, instead. This way we can focus on the slope which immediately indicates the change over time. And if we place category names next to the line we don’t have to jump between the chart and the legend.

Line chart for connecting categorical data

Connecting the points suggests a connection and continuity between them. That’s why categorical data should not be placed on the x-axis of the line chart. Based on the length of the category name we should use a bar chart or a column chart. If text is not oriented horizontally it becomes harder (and slower) to read. That’s why when we have categories with longer names we should use a bar chart. On the x-axis of the line chart, you should put a continuous measure, preferably time-related.

A column chart that doesn’t starts at zero

In general, the default approach should be including 0 in the axis of all charts. There are some exceptions to this rule for example when you encode your data with the position — like in the line chart, dot chart, or scatter plot. But if we encode our data with the length we SHOULD ALWAYS INCLUDE 0 otherwise, the chart will be misleading. Compare the examples below — on both charts we have the same data but on the left side the difference is exaggerated and the last category looks 5 times bigger than the first one when in fact it is only 28% bigger.

Not providing context

We should not cherry-pick the data to support the story. It is especially important when we are choosing a timeframe, and picking the categories to compare our data against. To provide proper context we should consider:

  • history — and provide a wider range of dates
  • periodicity — provide at least two cycles
  • surrounding — show your data against the competition, other categories, or countries

Using two Y-Axes

Why using dual axes is not ideal? When we have separate axes we can manipulate the scale and the magnitude can shrink or expand for each metric. This is typically done to imply correlation and causation. Just because the lines are synchronized it doesn’t mean there is an actual correlation — it might be the effect of scale manipulation.

Useful links and resources

Further dataviz inspirations

Data Visualization
Charts
Graph
UX Design
Storytelling
Recommended from ReadMedium
avatarDave House
Patterns in Design Systems

4 min read