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 14: Line 14:
 
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 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.
+
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 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.
 
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.

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)