Home icon
Data Visualisation Guide

Alternatives to pie charts

4 minutes read

A deep dive into pie charts

When it is important to be able to compare between the values represented by the slices of a pie chart, a traditional bar chart works better than a pie.

A series of 3 pie charts, each with 5 slices with different colours. There are clearly differences between the 3 pies, but identifying the biggest and smalles slice of each pie is difficult

The same data used to make the pie charts is used to produce 3 bar charts. Now the difference between the 3 datasets become very obvious and identifying the biggest and smallest bar becomes easy

The same data visualised as pie charts and as bar charts. Comparing the lengths of the bars is much easier than comparing the sizes of the slices of the pies. Maarten Lambrechts, CC BY SA 4.0

But what if the part-to-whole aspect of the data is more important than comparing between all values? When the guidelines described above in this module are respected, a pie chart can work just fine. Research has shown that the pie chart’s little nephew, the donut chart, works just as well for this purpose.

A donut chart with 5 slices. 3 of the slices are coloured in tones of purple, and together they amount to just over three quarters of the pie

A donut chart. Source: Maarten Lambrechts, CC BY SA 4.0

Simple stacked bar charts have shown to be less performant in estimating the share of each part in the total, due to the shifting baseline problem described in the stacked bars. So for showing proportions of a whole, these should be avoided.

Pie charts cannot deal with negative values. So if you would like to show how a total is composed as the cumulative sum of subcomponents, including subcomponents with negative values, a waterfall chart is probably a good option. It shows a starting value, the amounts of added positive values and subtracted negative values and the resulting final value.

A waterfall chart showing the growth and shrink of the EU’s territory over the years. Source: @Arnold_Platon

Probably the best alternative to pie charts are waffle charts. Instead of slices of a pie, waffle charts show the proportion of categories in the data as coloured cells arranged in a grid.

The cells are usually square, and a 10 by 10 grid makes it easy to read values from a waffle chart.

Waffle charts showing voter turnout in EU member states. Source: @Arnold_Platon

Waffle charts can also be used to show absolute numbers instead of percentages. When each cell represents one item in the data, a chart like this is sometimes called a unit chart.

A waffle or unit chart showing the number of tropical storms, tropical depressions and hurricans in the years 2010 to 2015

Source: github.com/hrbrmstr/waffle/blob/master/README.md

A last alternative to pie charts, are tree maps. Tree maps are mainly used to show hierarchical data (see Visualising hierarchies), but they can just as well be used to show categories and their numerical values.

A treemap showing the composition of global waste. Food and green (44%) and plastic (12%) are highlighted in red, the other categories are in grey

Source: Managing plastic and food waste for a sustainable future, Sustainable Development Goals Atlas 2020, World Bank

Related pages

Save the pies for dessert

Guidelines for pie charts

Data dense scatter plots

Binned scatter plots

Data dense time series

Labelling scatter plots

A deep dive into pie charts