Pie Charts & Error Bars: Which to Use?

  • Context: Undergrad 
  • Thread starter Thread starter Jamison Lahman
  • Start date Start date
  • Tags Tags
    Error Error bars
Click For Summary
SUMMARY

The discussion centers on the appropriateness of using pie charts with error bars versus stacked bar charts for data visualization. Participants unanimously agree that pie charts are ineffective for conveying information due to their inability to allow easy comparison of data slices. Instead, bar graphs, particularly stacked bar graphs, are recommended for displaying multiple data series clearly. The consensus is that pie charts should be avoided in favor of bar graphs for better communication of statistical data.

PREREQUISITES
  • Understanding of data visualization principles
  • Familiarity with statistical error representation
  • Knowledge of bar graph and pie chart construction
  • Experience with data analysis tools (e.g., Excel, R, or Python)
NEXT STEPS
  • Research best practices for using bar graphs in data visualization
  • Explore literature on the effectiveness of stacked bar graphs versus regular bar graphs
  • Learn about statistical error bars and their application in data representation
  • Review case studies comparing pie charts and bar graphs in various contexts
USEFUL FOR

Data analysts, statisticians, and anyone involved in data visualization who seeks to improve their graphical representation skills and effectively communicate statistical information.

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?
 
Physics news on Phys.org
The nearest I've seen to something like this is:

gy5q3.png
 
  • Like
Likes   Reactions: Jamison Lahman
jedishrfu said:
The nearest I've seen to something like this is:

gy5q3.png
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:

ku-xlarge.gif
 
  • Like
Likes   Reactions: berkeman
jedishrfu said:
The nearest I've seen to something like this is:

gy5q3.png
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 :)
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
10K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K