Can pie charts show error bars for composition percentages?

  • Level: Undergrad 
  • Thread starter Jamison Lahman
  • Start date
  • Tags Tags
    Error Error bars
6 replies · 8K views · last reply
Jamison Lahman
Messages
142
Reaction score
35
Kind of a silly question; can pie charts have error bars?
I have used x-ray dispersion to find the approximate chemical composition of unknown samples. Is it appropriate to have error bars on how much we expect the percentages to deviate statistically throughout the sample?

Or, should I go a different route and use a stacked bar chart? Is it customary to include error bars on those as either?
 
The nearest I've seen to something like this is:

Nested pie chart titled "Browser market share, April, 2011" with an inner ring for browser families (MSIE, Firefox, Chrome, Safari, Opera) and an outer ring for versions, with percentage labels on each slice.
 
  • Like
Likes   Reactions: Jamison Lahman
jedishrfu said:
The nearest I've seen to something like this is:

Double-ring pie chart titled Browser market share, April, 2011: inner ring MSIE 52%, Firefox 24%, Chrome 14%, Safari 9%; outer ring segments MSIE 6.0 10.85%, MSIE 7.0 7.35%, MSIE 8.0 33.06%, MSIE 9.0 2.81%, Firefox 3.6 13.12%, Firefox 4.0 5.43%, Firefox 3.5 1.58%, Chrome 10.0 9.91%, Safari 5.0 4.55%, Safari 4.0 1.42%, Opera 11.x 1.65%.
Wow, dat's ugly! o0)

(not your fault jedi)
 
You see these charts a lot in data mining. The inner ring was the subset you decided to analyze and the outer ring would the breakdown over the whole big data set.

and here's one from the FUTURE:

Dark background with a red and green wireframe sphere overlaid with orange dashed rings, green numeric labels such as 12, 13 and 14 around the edge, and small glowing icons on the sides; a futuristic display graphic.
 
  • Like
Likes   Reactions: berkeman
jedishrfu said:
The nearest I've seen to something like this is:

Double-ring pie chart titled Browser market share, April, 2011: inner ring MSIE 52.4%, Firefox 24.3%, Chrome 14.5%, Safari 4.9% and Opera; outer ring MSIE 6.0 10.85%, MSIE 7.0 7.35%, MSIE 8.0 33.06%, MSIE 9.0 2.81%, Firefox 3.5 1.58%, Firefox 3.6 13.12%, Firefox 4.0 5.43%, Chrome 10.0 9.91%, Safari 5.0 4.55%, Safari 4.0 1.42%, Opera 11.x 1.65%.
That's awesome. After looking at this though, I think it'll be best if I just use a regular pie chart and include the uncertainties in the series labels. Thanks
 
  • Like
Likes   Reactions: jedishrfu
As an aside, it should be said that there is really no reason to ever use a pie chart, and most people involved in any kind of data visualization despise them. That's not just a personal preference; they're objectively terrible at communicating information. It's almost impossible to directly compare the sizes of two slices unless the differences are very large, and even then you can't read the actual magnitude off of the chart. You're much better off using a bar graph. See e.g. the comparison between pie charts and bar graphs here

http://www.storytellingwithdata.com/blog/2011/07/death-to-pie-charts

and note how you can't actually read the data off of the pie chart (you have to clutter it up with labels to get any information across), but the bar graph immediately communicates the differences between the groups. I actually can't imagine any situation in which a pie chart would be better at communicating information than a bar graph.

That's awesome. After looking at this though, I think it'll be best if I just use a regular pie chart and include the uncertainties in the series labels.

No! What's the point of even having a plot if the viewer just has to get all of the information from text anyway? A pie chart clearly isn't what you want.
 
  • Like
Likes   Reactions: DrClaude
Number Nine said:
As an aside, it should be said that there is really no reason to ever use a pie chart, and most people involved in any kind of data visualization despise them. That's not just a personal preference; they're objectively terrible at communicating information. It's almost impossible to directly compare the sizes of two slices unless the differences are very large, and even then you can't read the actual magnitude off of the chart. You're much better off using a bar graph. See e.g. the comparison between pie charts and bar graphs here

http://www.storytellingwithdata.com/blog/2011/07/death-to-pie-charts

and note how you can't actually read the data off of the pie chart (you have to clutter it up with labels to get any information across), but the bar graph immediately communicates the differences between the groups. I actually can't imagine any situation in which a pie chart would be better at communicating information than a bar graph.
No! What's the point of even having a plot if the viewer just has to get all of the information from text anyway? A pie chart clearly isn't what you want.
I too have read that people are less equipped to distinguish angular differences. Most of my charts are going to have 2-4 data series so I think a pie chart would be applicable (even if not necessarily the best at conveying the message). Personally, and I am no data visualization expert obviously, I imagine pie charts have one advantage and that is, whatever data is being conveyed, people automatically know it is some type of percentage. Also, I don't mind the labels having numbers anymore than I would if a bar graph had explicit values and a legend :)

I will say, after more thought, I had decided to go with a bar graph but thought it unnecessary to update the post. I plan on comparing numerous sets of data which can more easily be displayed in bars side-by-side. I am still undecided whether I prefer a bar graph to a stacked bar graph so if you know any literature on comparisons of those I wouldn't mind a read :)