Pie Charts & Error Bars: Which to Use?

In summary, pie charts can have error bars, but a bar graph is typically a better way to convey information.
  • #1
Jamison Lahman
143
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
  • #2
The nearest I've seen to something like this is:

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

gy5q3.png
Wow, dat's ugly! o0)

(not your fault jedi)
 
  • #4
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 berkeman
  • #5
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 jedishrfu
  • #6
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 DrClaude
  • #7
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 :)
 

1. What is the difference between a pie chart and an error bar?

A pie chart is a circular graph that displays data as a percentage of a whole, while an error bar is a visual representation of the uncertainty or variability of data.

2. When should I use a pie chart versus an error bar?

Pie charts are useful for showing proportions and comparisons between different categories or groups. Error bars are useful for displaying the variability or uncertainty in data, especially when comparing means or averages.

3. How do I interpret error bars on a graph?

The length of an error bar represents the amount of variability or uncertainty in the data. A longer error bar indicates a larger range of values, while a shorter error bar indicates a smaller range. The position of the error bar on the graph represents the mean or average value.

4. Can I use both a pie chart and error bars in the same graph?

Yes, you can use both a pie chart and error bars in the same graph if you want to show both the proportions and variability of data.

5. What are some alternatives to using pie charts and error bars?

Other types of graphs that can be used to display proportions and variability of data include bar graphs, stacked bar graphs, and box plots. It is important to choose the most appropriate graph for the type of data being presented and the message you want to convey.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
933
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • High Energy, Nuclear, Particle Physics
Replies
4
Views
930
  • Precalculus Mathematics Homework Help
Replies
15
Views
3K
  • Introductory Physics Homework Help
Replies
7
Views
1K
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
9K
  • General Math
Replies
1
Views
1K
Back
Top