Pie charts are perhaps the most ubiquitous chart type; they can be found in newspapers, business reports, and many other places. But few people actually understand the function of the pie chart and how to use it properly. In addition to issues stemming from using too many categories, the biggest problem is getting the basic premise: that the pie slices sum up to a meaningful whole.

## The Part-Whole Relationship

The pie chart is actually a very clever visual design that conveys one fact above all others with a minimum of visual cues: that the circle (the “pie”) represents some kind of whole, which is made up of the slices. Add up all the slices and you get the complete pie. Take out one slice, and the whole will be missing exactly this part. Enlarge one part, and other parts will need to shrink.

What this means is that the pie chart first and foremost represents the size relationship between the parts and the entire thing. If a company has five divisions, and the pie chart shows profits per division, the sum of all the slices/divisions is the total profits of the company.

If the parts do not sum up to a meaningful whole, they cannot be represented in a pie chart, period. It makes no sense to show five different occupations in a pie chart, because there are obviously many missing. The total of such a subsample is not meaningful, and neither is the comparison of each individual value to the artificial whole.

Another example that Chandoo used recently is counting uses of words. Clearly, there are other meanings of “bar” (take bar mitzvah or bar none, for example), and the sample is very artificial (there are also too many slices, see below).

There is one way around this issue, which is to have an other category in the chart. This may work in some cases, but in others it can be difficult to come up with one (when the other cases are not known), or that category may end up obscuring some of the meaningful data (e.g., by being the largest category).

Slices have to be mutually exclusive; by definition, they cannot overlap. The data therefore must not only sum up to a meaningful whole, but the values need to be categorized in such a way that they are not counted several times. A good indicator of something being wrong is when the percentages do not sum up to 100%, like in the infamous Fox News pie chart.

Here, people were asked which potential candidates they viewed favorably, but they could name more than one. The categories are thus not mutually exclusive, and the chart makes no sense. At the very least, they would need to show the amount of overlap between any two (and also all three) candidates. Though given the size of the numbers and the margin of error in this data, the chart is entirely meaningless.

## How to Read Pie Charts

There are two features that let us read the values on a pie chart: the angle a slice covers (compared to the full circle), and the area of a slice (compared to the entire disk). Research suggests that we look at the angle in the center, essentially reducing the chart to just the crossing lines there. We are not very good at measuring angles, but we recognize 90 and 180 degree angles with very high precision. Slices that cover half or a quarter of the circle will therefore stand out. Others can be compared with some success, but reading actual numbers from a pie chart is next to impossible.

We have conducted some research that showed that people’s confidence when reading numbers from pie charts is much lower than from other kinds of charts, and with good reason: their accuracy was also much lower. As a consequence, numbers usually need to be shown as well, and the number of slices needs to be limited to allow the viewer to get an overview without having to try to read the chart in detail (which is frustrating).

Which is larger in the following chart, the black or the yellow slice? What about black and green? How much larger? How sure are you? And where do you look to compare?

Now compare this to the bar chart. There is no doubt which is larger, or by how much. It’s also easy to add a scale, gridlines, etc. When you care about comparing the parts, a bar chart is clearly superior. What the bar chart does not convey, though, is the part-whole relationship: changing the size of the green bar does not necessarily mean that any other bar has to change.

What the bar chart does not let you do easily is compare one bar to the sum of all bars: that is the realm of the pie chart (and a few others).

## Pie Chart Mistakes

Care must be taken to retain the salient feature of the chart: the center. In a report on the number of words consumed each day, a pie chart was prettified with a highlight in the middle. That obscures the spot where the lines meet, and thus makes it impossible to judge angles, making the comparison more difficult.

This is similar to the problem with a colleague of the pie chart, the donut chart. It is similar to the pie chart, but is missing a circular area in the center. This example was found on Jon Peltier’s blog.

While the center may be a convenient spot for labeling, it degrades the chart’s readability. The comparison between separate pie or donut charts is also largely meaningless, and should be avoided. To show progression over time, line and bar charts are much better suited. To compare two different kinds of data (absolute numbers and fractions), it makes more sense to split them up by data to compare than by year.

Other distortions include the ubiquitous 3D pie chart, which introduces perspective distortion and requires our very underdeveloped sense of depth to make up for it. These charts may be more spectacular, but in terms of communicating data, they are mostly useless.

## Number of Slices

The most common problem is trying to show too many categories in a single pie chart. Wikipedia has this beautiful specimen on the page on U.S. states by population. The first four states are clearly larger than any of the rest, and from there the chart turns from a meaningful visualization of numbers into a colorful pattern.

A bar chart would have been a much better idea here, because it would have allowed easier comparison between the states. Grouping together states of similar size into separate charts with different scales would have made it possible to clearly see the differences for all of them, not just the most populous ones.

## When to Use Pie Charts

There are some simple criteria that you can use to determine whether a pie chart is the right choice for your data.

• Do the parts make up a meaningful whole? If not, use a different chart. Only use a pie chart if you can define the entire set in a way that makes sense to the viewer.
• Are the parts mutually exclusive? If there is overlap between the parts, use a different chart.
• Do you want to compare the parts to each other or the parts to the whole? If the main purpose is to compare between the parts, use a different chart. The main purpose of the pie chart is to show part-whole relationships.
• How many parts do you have? If there are more than five to seven, use a different chart. Pie charts with lots of slices (or slices of very different size) are hard to read.

In all other cases, do not use a pie chart. The pie chart is the wrong chart type to use as a default; the bar chart is a much better choice for that. Using a pie chart requires a lot more thought, care, and awareness of its limitations than most other charts.

## Alternative: Squaring the Pie

A little-known alternative to the round pie chart is the square pie or waffle chart. It consists of a square that is divided into 10×10 cells, making it possible to read values precisely down to a single percent. Depending on how the areas are laid out (as square as possible seems to be the best idea), it is very easy to compare parts to the whole. The example below is from a redesign I did a while ago about women and girls in IT and computing-related fields.

Unfortunately, no common software I know creates this chart. But Chris Gemignani at Juice Analytics has collected a few easy ways to make them in Excel.

## Respect the Pie!

It is easy to pounce on people’s incompetent uses of pie charts. But used the right way, they are very powerful: they are easy to read, familiar, and pleasant to look at. Care must be taken to not overload the chart or use it as a default to show data it is not suited for.

Chocolate Pie Chart by Mary&Matt

### 19 Responses to Understanding Pie Charts

1. Nathan says:

Finally, someone writes a post about the pie chart that doesn’t say it sucks. I’m so tired of hearing how bad it is and about angles and human perception, blah blah. Sure, you can’t tell between the small differences between slices, but at the end of the day, the visualization is just a guide to show you where to look in your data.

2. Thiagu says:

I like to add one point

-Colour also place important role in pie chart.

I recentely made a pie chart for chartsbin.com, if you have a moment please check yourself  Surface Area of the Earth

3. John says:

I like the first part on pies, but the second on waffles not so much.

I don’t find the coloring of squares in one corner very easy to estimate. Yes, I can count them, but then why not use the numbers themselves? In fact, for the example you use, the numbers are far more expressive than the waffles.

4. Infoholic says:

Given that it is just as easy (in most charting tools) to create a bar chart with a 100% scale then why ever use a pie chart.

We may be used to using pie charts but that doesn’t make them right.

Also @Nathan you are right about the visualisation being a guide to where you should look in the data but quite often a pie chart is presented without the accompanying data thus increasing the risk of incorrect interpetation.

5. Jorge Camoes says:

I like to protect the poor and opressed pies (I write about that more than I should) and it’s nice to know I’m not alone. Actually, a donut is even better than a pie chart  (if you can do it right, a donut is like as a pie on steroids).

@Infoholic: a pie chart performes better than a 100% stacked bar because its’s easier to find anchoir points (90%, 180%).

6. derek says:

Pie charts are like that little thug in school that all the adults tried to make excuses for. Look, it only took him three tries to spell the word “cat”!

If you can’t use a pie to detect subtle differences in quantity, it’s no use trying to make excuses for it by saying it works okay with gross differences. *Anything* works okay with gross differences, including just writing the numbers down.

7. Noob says:

can u guys answer this question its my school MCQ Queston.
When we have to show value as part of a whole picture, which type of chart is used.
► Bar chart
► Pie chart
► Line graph
► None of the given

8. fudgeman says:

i want the choco;ate pie graph.

(:

• fudgeman says:

i accidentaly spelled chocolate wrong.

oops!

9. Jon says:

Robert,

The ‘squaring the pie’ charts are very similar to unit charts, which I’ve used in some of my work (see here: http://cbo.gov/publication/43139). However, Stephen Few doesn’t like unit charts (http://www.perceptualedge.com/articles/visual_business_intelligence/unit_charts_are_for_kids.pdf) and I was wondering what you thought of his position.

Thanks,
Jon

10. [...] They are not good if they make you squint. And they are useless for an apples-to-apples approach. As Eager Eyes points out, human beings are terrible at gauging anything other than 90 and 180 degree angles–we can [...]

11. [...] 99% of the time pie charts suck (see my rant). However, there is a situation where it can be useful: when you are trying to convey a general idea of part-to-whole relationships among 3-5 entities which are meaningful parts of a whole unit. There’s an excellent breakdown of how this works, why it works, and dos and don’ts here. [...]

12. Church MN says:

Very helpful post on how to maximize the value of using pie charts.

13. 3D Systems says:

I appreciate the information on the squaring of the pie chart (the waffle chart).

14. [...] Understanding Pie Charts Another techniques post, this one deconstructing pie charts. I never knew why I wasn’t a big fan of the pie, but this article points out a lot of stuff that’s pretty obvious (now that you mention it …) [...]

15. We hope people head these recommendations however your initial recommendations for when to use them are slightly misguided. Never, is the appropriate time to use a pie chart. Do not negotiate with visual terrorists.

16. [...] eagereyes.org/techniques/pie-charts [...]

17. Jonathan says:

“But used the right way, they are very powerful: they are easy to read, familiar, and pleasant to look at.”

You should have put the first five words of that sentence in bold, 32-point text. The problem with pie charts that they almost never get used in the right way, and there are so few situations in which they can be used well, that it’s usually just hopeless. You may as well argue that 550cc motorbikes are a good idea for 16 year-old boys – if they ride them in the right way.

18. John Warren says:

This Is So Helpful ! Thank you so much for the source! I’m now satisfied and confident for my Report !