• Skip to content
  • Skip to primary sidebar
  • Skip to footer

eagereyes

Visualization and Visual Communication

  • Explore
    • Starter Pack
    • Blog Calendar
    • EagerEyes Decade
    • Blogroll
  • Practical
    • Basics
    • Pie Charts
    • Techniques
    • Book Reviews
    • Journalism
  • Academic
    • Speaking Mistakes
    • Acceptance Rates
    • Papers
    • Conference Reports
    • Lists of Influences
    • Criticism
    • Peer Review
  • Admin
    • About
    • Contact
    • License

Robert Kosara / January 12, 2010

Understanding Pie Charts

Chocolate Pie Chart

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).

Pie chart of contexts the word "bar" is used

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.

The Foxpie

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?

pie chart

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.

bar chart

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.

Pie chart of words consumed

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.

Donut charts

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.

Pie chart of U.S. state populations

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.

Girls in IT-related areas waffle chart

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

Filed Under: Techniques Tagged With: pie charts

Robert Kosara is Senior Research Scientist at Tableau Software, and formerly Associate Professor of Computer Science. His research focus is the communication of data using visualization. In addition to blogging, Robert also runs and tweets. Read More…

Reader Interactions

Comments

  1. Nathan says

    January 12, 2010 at 11:47 am

    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.

    Reply
    • saaya says

      January 28, 2015 at 5:18 pm

      hahaha feel your pain well not literally but eeeh

      Reply
      • Osarhemen says

        October 27, 2016 at 2:24 pm

        In the pie graph on Computer Preferrences, I don’t quite understand how to find the percentage of the mainframe computers if it’s not there.

        Reply
        • BOi says

          May 16, 2017 at 11:37 am

          Same i am doing this in science and I already gave up on it.

          Reply
  2. Thiagu says

    January 12, 2010 at 1:46 pm

    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

    Reply
    • Osarhemen Igbinosun says

      October 27, 2016 at 2:32 pm

      I know the colors of the pie graph, but what does that have to do with the graph about Computer Preferrences? I don’t quite get it!

      Reply
      • Osarhemen Igbinosun says

        October 27, 2016 at 2:40 pm

        In the pie graph on Computer Preferrences, it shows a survey of a group of professionals who were asked what type of computer they preferred. What is the percentage of the group preferred to work on mainframe computers? Help me to understand this question to find the answer, please?

        Reply
  3. John says

    January 12, 2010 at 3:37 pm

    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.

    Reply
  4. Infoholic says

    January 12, 2010 at 7:35 pm

    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.

    Reply
  5. Jorge Camoes says

    January 13, 2010 at 6:07 am

    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%).

    Reply
  6. derek says

    January 13, 2010 at 11:45 am

    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.

    Reply
  7. Noob says

    February 10, 2012 at 3:58 am

    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

    Reply
    • saaya says

      January 28, 2015 at 5:15 pm

      pie chart absolutely

      Reply
    • Cortez Brayboy says

      May 12, 2016 at 7:17 am

      You can use all three, but only for the identical purpose of showing value in a whole picture. The reason is you would need to show trending times of value, fluctuations and other factors. More than one pie graph would be needed because of the times of value recorded; related to the line or bar graph chosen.

      Reply
  8. fudgeman says

    April 1, 2012 at 10:51 am

    i want the choco;ate pie graph.

    (:

    Reply
    • fudgeman says

      April 1, 2012 at 10:52 am

      i accidentaly spelled chocolate wrong.

      oops!

      Reply
      • Penny says

        June 13, 2013 at 7:51 am

        Well of course you want the chocolate pie graph, you gave yourself a ridiculous nickname like Fudgeman. Stupid a******.

        Reply
  9. Jon says

    April 2, 2012 at 5:08 pm

    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

    Reply
  10. Church MN says

    September 20, 2012 at 7:43 pm

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

    Reply
  11. 3D Systems says

    September 22, 2012 at 8:38 am

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

    Reply
  12. War on Pie Charts says

    December 20, 2012 at 8:53 am

    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.

    Reply
  13. Jonathan says

    January 26, 2013 at 2:00 pm

    “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.

    Reply
  14. John Warren says

    March 1, 2013 at 2:16 am

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

    Reply
  15. ezra abrams says

    June 3, 2013 at 9:11 pm

    aside from your opinion as to the goodness or badness of various charts you show, do you have any data ?
    ie, if you and some other experts agree as to the message a chart is suppose to convey, and then you show the chart to a group of non experts, and show a diff group a “better” chart, and see if the two groups differ in their response

    with out this sort of data, it is just your opinion.
    opinions are good, but data is better.
    there is, actually, a fairly large, but extremely diffuse data literature on graphs

    Reply
  16. Maria says

    August 20, 2013 at 4:55 pm

    It’s to much to read!!

    Reply
  17. Ray says

    September 8, 2014 at 11:54 pm

    I believe the main take-away from this article is what not to do to get the most accurate representation of data. I now realize that the total data sample needs to be 100% or a pie chart is meaningless.

    Reply
  18. Jane says

    December 1, 2014 at 12:42 am

    thank you! helped me a lot. :)

    Reply
  19. padma says

    June 12, 2015 at 4:20 am

    could some one tell me if i have a certain percent and i want to add a certain percent to it and how will it affect the other proportions

    Reply
    • Anasusakiki says

      January 5, 2017 at 3:11 am

      yes me tooi am making a pie chart poster wish me luck

      Reply
    • HLeplaa says

      June 23, 2017 at 6:34 am

      You make the total larger, for instance going from 100 to 110% (which becomes the new 100%). To calculate how percentages change then, you have to calculate the factor to make 110 into 100 (dividing it by 1.1). So: 33% becomes now 30%.

      Reply
  20. shirley thornton says

    September 2, 2015 at 5:04 pm

    this information was very helpful when determining what type of chart to use.

    Reply
  21. thykier says

    May 31, 2016 at 1:51 am

    Great article about choosing the right tool for the right set of data. The pie-chart is great.
    I also like the waffle chart. But would like to say, wouldn’t it give more value to the reader if, in your example, 56% was “half” the box coloured, and not just the corner? It would be easier to read and decode the information.

    Reply
  22. Sam Firke says

    June 27, 2016 at 6:21 am

    “Unfortunately, no common software I know creates this chart. ” – try R’s “waffle” package.

    Reply
  23. jonpeltier says

    June 28, 2016 at 6:54 am

    I guess I’m one of those unabashed pie chart bashers. Yet I read these studies with strong interest, because they have been carried out and analyzed systematically and logically. I’ve always felt that a two-segment pie (what Jorge Camoes calls a one-segment pie) is somewhat effective if used appropriately. It’s good to see a good analysis that shows how to maintain their effectiveness.

    It’s also good to know that what we pie-bashers always thought has some analytic backing:

    “If you’re after precision, don’t distort your pie charts. Certainly don’t change their shapes, but also don’t explode them or make a slice larger.”

    Reply
    • jonpeltier says

      June 28, 2016 at 6:58 am

      Sorry, I had two posts open, and I meant to leave that last comment in Robert’s more recent article A Pair of Pie Chart Papers.

      Reply
  24. Jopo says

    July 21, 2016 at 1:40 pm

    ” 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)”.

    Those two sentences are wrong. If you compare like with like, then the sum of the bars must be 100% (or 1 if using proportions). Therefore increasing the green bar will mean that one or more other bars will reduce in size. The percentage increase has to come from somewhere.

    Following on from that, comparing like with like, the bar chart implicitly allows the comparison with part to whole. as the whole is always 100%.

    Reply
  25. J. Astor says

    April 28, 2017 at 1:13 pm

    “the comparison between separate pie or donut charts is also largely meaningless”

    Factually incorrect – in the donut charts you use as an example above this statement, the two are proportional to each other. The ratio between the sizes of the two donuts is equal to the ratio between the total amounts depicted.

    Reply

Leave a Reply to fudgeman Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

More Techniques Articles

  • Sonification: The Power, The Problems
  • Nassi-Shneiderman Diagrams
  • Stacked Bars Are the Worst
  • The ISOTYPE
  • Affordances

Recently Popular

  • Understanding Pie Charts
  • Data: Continuous vs. Categorical
  • What is Visualization? A Definition
  • How The Rainbow Color Map Misleads
  • The Simple Way to Scrape an HTML Table: Google Docs
  • Chart Junk Considered Useful After All
  • Facebook
  • GitHub
  • LinkedIn
  • RSS
  • Twitter

Subscribe via Email

Footer

  • About
  • Contact
  • License

Copyright © 2006–2019 Robert Kosara · All original materials are available under CC-BY-SA