Editing 2031: Pie Charts

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
{{w|Pie_chart|Pie Charts}} graph proportions as "slices" of a circle, like a pie that you cut into slices.  The circle, or Pie, represents the whole sum of the slices, or 100% of the data.  As such, if the data represented by the slices is expressed as percentages, the total of all the slices, by definition, must total 100%. This comic introduces a new technique for getting around that rule by "warping" the circle to allow more than 100% of the data to exist in the graph. Thus the total amount of 130% is represented with a shape that bends out of plane in order to fit a 30% larger area into the footprint of a circle.
+
{{incomplete|Created by [https://thinkprogress.org/foxs-fuzzy-math-193-percent-of-the-public-support-palin-huckabee-and-romney-6b5293868b6f/ Fox News] - Please change this comment when editing this page. Do NOT delete this tag too soon.}}
  
This shape does not aid in understanding the figures. At best, it serves to highlight a methodical error. Pie charts are intended to represent nonoverlapping fractions of a whole. If the entire pie does not represent the whole, and each sector a disjoint piece, then the pie chart is misleading and may be impossible to draw. A different type of chart should be used.
+
Pie Charts graph quantities as "slices" of a circle, like a pie that you cut into slices. The circle, or Pie, represents the whole sum of the slices, or 100% of the data. As such, if the data represented by the slices is expressed as percentages, the total of all the slices, by definition, must total 100%. This comic introduces a new technique for getting around that rule by "warping" the circle to allow more than 100% of the data to exist in the graph.
 
 
Percentages that add up to more than 100% are often a sign that a math error has occurred, whether a typo somewhere or a sloppy case of taking numbers from different sources. However, they can arise naturally in cases where each item can belong to more than one group, such as [[wikipedia:approval voting|approval voting]] (40% of the people like green 45% like red etc., however there may be some that like both green and red). In such cases, a more accurate depiction would have some form of overlap of the pie pieces, not a warping of the space which they occupy. For instance, for 2 colors, Red and Green, the pie chart could have four sectors: approval of both R and G, of just R, of just G, and of neither R nor G. These will necessarily add to 100%, since they exhaust all logical possibilities. If this is impossible or confusing, a completely different representation should be used, such as a bar chart.  An exception can occur if the percentages of the pieces have been rounded for readability—the percentages do indeed sum to 100, but after they are each rounded individually, the rounded numbers can sum to a slightly different value. This is still appropriate for a pie chart, and when charts like this are published, a small notice is sometimes published beneath it explaining the discrepancy due to rounding. If each group is rounded to the nearest 1%, with 0.5 rounded up, then the maximum possible sum of rounded percentages is (100+⌊n/2⌋)%, where n is the number of groups and ⌊•⌋ is the floor function. For instance, with groups of size 0.5%, 0.5%, 0.5%, and 98.5%, they would round up to 1%, 1%, 1%, and 99%, for a sum of 102% = (100+4/2)%.
 
 
 
Percentages don't ''need'' to add up to 100% to be correct. For example, if ten people wear blue t-shirts and ten wear red t-shirts, then 50% of them wear each color for a total of 100%. Now if one of each joins the group, 55% of the ''original'' population wears each color, for a total of 110%, as the total population risen by 10%. That said, this change should be represented by something like a bar graph, not by pie chart. If percentages are represented by a pie chart, the assumption is that the total should be 100%, independently of the math behind it.
 
 
 
In this case, the right image appears to be what happens when you cut the pie chart segments out of fabric, stitch them together, and let the resultant fabric flop around a bit.
 
 
 
The title text presents an alternative if shading is not possible, namely to excuse the percentage inaccuracy with scientists discussing curvature of space.
 
  
 
==Transcript==
 
==Transcript==
:[Two colored circles are shown. The circle on the right is warped and bent in shape and shows some shadows from the middle to the outer edges, like a round piece of cloth with wrinkles going out from the center.]
+
{{incomplete transcript|Do NOT delete this tag too soon.}}
 
 
:[The left pie chart:]
 
:Wrong:
 
:45% (red)
 
:15% (blue)
 
:30% (yellow)
 
:40% (green)
 
 
 
:[The right warped and bent pie chart with shadows:]
 
:Right:
 
:45% (red)
 
:15% (blue)
 
:30% (yellow)
 
:40% (green)
 
 
 
:[Caption below the frame:]
 
:How to make a pie chart if your percentages don't add up to 100
 
  
 
{{comic discussion}}
 
{{comic discussion}}
 
[[Category:Cosmology]] <!-- title text -->
 
[[Category:Pie charts]]
 
[[Category:Comics with color]]
 

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)