Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Pie chart
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.
Anti-spam check. Do
not
fill this in!
{{short description|Circular statistical graph that illustrates numerical proportion}} {{Distinguish|Circle graph}} {{About||the South Korean music chart|Circle Chart|Information on generating pie charts in Wikipedia|:Wikipedia:Graphs and charts|and|:Template:Pie chart}} [[Image:English dialects1997.svg|thumb|right|Pie chart of populations of [[English language|English]] native speakers]] A '''pie chart''' (or a '''circle chart''') is a circular [[Statistical graphics|statistical graphic]] which is divided into slices to illustrate numerical proportion. In a pie chart, the [[arc length]] of each slice (and consequently its [[central angle]] and [[area]]) is [[Proportionality (mathematics)|proportional]] to the quantity it represents. While it is named for its resemblance to a [[pie]] which has been sliced, there are variations on the way it can be presented. The earliest known pie chart is generally credited to [[William Playfair]]'s ''Statistical Breviary'' of 1801.<ref name="Spence2005">Spence (2005)</ref><ref name="Tufte, p. 44">Tufte, p. 44</ref> Pie charts are very widely used in the business world and the mass media.<ref name="Cleveland">Cleveland, p. 262</ref> However, they have been criticized,<ref name="Wilkinson">Wilkinson, p. 23.</ref> and many experts recommend avoiding them,<ref name="tufte">Tufte, p. 178.</ref><ref name="vanbelle">van Belle, p. 160–162.</ref><ref name="sfew">Stephen Few. [http://www.perceptualedge.com/articles/08-21-07.pdf "Save the Pies for Dessert"], August 2007, Retrieved 2010-02-02</ref><ref name="fenton">Steve Fenton [http://www.stevefenton.co.uk/Content/Pie-Charts-Are-Bad/ "Pie Charts Are Bad"]</ref> as research has shown it is more difficult to make simple comparisons such as the size of different sections of a given pie chart, or to compare data across different pie charts. Some research has shown pie charts perform well for comparing complex combinations of sections (e.g., "A + B vs. C + D").<ref name="spence91" /> Commonly recommended alternatives to pie charts in most cases include [[bar chart]]s, [[box plot]]s, and [[dot plot (statistics)|dot plot]]s. ==History== The earliest known pie chart is generally credited to [[William Playfair]]'s ''Statistical Breviary'' of 1801, in which two such graphs are used.<ref name="Spence2005"/><ref name="Tufte, p. 44"/><ref>{{Cite web|url=http://www.datavis.ca/milestones/index.php?group=1800+&mid=ms89|title=Milestones in the History of Thematic Cartography, Statistical Graphics, and Data Visualization |website=www.datavis.ca}}</ref> Playfair presented an illustration, which contained a series of pie charts. One of those charts depicted the proportions of the [[Ottoman Empire|Turkish Empire]] located in [[Asia]], [[Europe]] and [[Africa]] before 1789. This invention was not widely used at first.<ref name="Spence2005"/> Playfair thought that pie charts were in need of a third dimension to add additional information.<ref>Palsky, p. 144–145</ref> [[Florence Nightingale]] may not have invented the pie chart, but she adapted it to make it more readable, which fostered its wide use, still today. Nightingale reconfigured the pie chart making the length of the wedges variable instead of their width. The graph, then, resembled a [[Comb (anatomy)|cock's comb]].<ref name="Who Made That Pie Chart">{{Cite news|url=https://www.nytimes.com/2012/04/22/magazine/who-made-that-pie-chart.html|title=Who Made That Pie Chart?|newspaper=The New York Times|date=20 April 2012|last1=Greenbaum|first1=Hilary|last2=Rubinstein|first2=Dana}}</ref> She was later assumed to have created it due to the obscurity and lack of practicality of Playfair's creation.<ref>[http://uktv.co.uk/dave/article/aid/631002 Dave article on this information on QI]</ref> Nightingale's [[polar area diagram]],<ref name=Cohen1984>{{cite journal |last=Cohen |first=I. Bernard |author-link=I. Bernard Cohen |title=Florence Nightingale |journal=Scientific American |volume=250 |pages=128–137 |date=March 1984 |doi=10.1038/scientificamerican0384-128 |pmid= 6367033 |issue= 3 |bibcode=1984SciAm.250c.128C}} (alternative pagination depending on country of sale: 98–107, bibliography on p. 114) [http://www.unc.edu/~nielsen/soci708/ online article – see documents link at left]</ref>{{rp|page=107}} or occasionally the '''Nightingale rose diagram''', equivalent to a modern circular [[histogram]], to illustrate seasonal sources of patient mortality in the military field hospital she managed, was published in Notes on Matters Affecting the Health, Efficiency, and Hospital Administration of the British Army and sent to Queen Victoria in 1858. According to the historian Hugh Small, "she may have been the first to use [pie charts] for persuading people of the need for change."<ref name="Who Made That Pie Chart"/> The French engineer [[Charles Joseph Minard]] also used pie charts, in 1858. A map of his from 1858 used pie charts to represent the cattle sent from all around [[France]] for consumption in [[Paris]]. {{Gallery |title=Early types of pie charts in the 19th century |width=200 | height=240 |align=center |footer= |File:Playfair piecharts.jpg |alt1=Pie charts from William Playfair's "Statistical Breviary", 1801 |Pie charts from William Playfair's "Statistical Breviary", 1801 |Image:Playfair-piechart.jpg |alt2=One of the earliest pie charts, 1801 |One of the earliest pie charts, 1801 |Image:Minard-carte-viande-1858.png |alt3=Minard's map, 1858 |Minard's map, 1858 |Image:Nightingale-mortality.jpg |alt4=Polar chart by Florence Nightingale, 1858 |Polar chart by [[Florence Nightingale]], 1858 }} ==Variants and similar charts== [[File:misleading_macworld_3d_pie_chart.svg|thumb|upright|In a redrawing of the perspective pie chart shown at [[Macworld/iWorld#2008|MacWorld 2008]] (top), the smaller '''Apple''' slice appears larger than the '''Other''' slice – the 2D pie chart (bottom) gives the true picture]] ==={{anchor|Perspective}}3D pie chart and perspective pie cake=== <!-- '3D pie chart', '3d pie chart', and 'Perspective pie cake' redirect here. Please do not remove the anchor. --> A 3D pie chart, or perspective pie chart, is used to give the chart a [[Three-dimensional space|3D]] look. Often used for aesthetic reasons, the third dimension does not improve the reading of the data; on the contrary, these plots are difficult to interpret because of the distorted effect of [[Perspective (visual)|perspective]] associated with the third dimension. The use of superfluous dimensions not used to display the data of interest is discouraged for charts in general, not only for pie charts.<ref name="sfew" /><ref>Good and Hardin, chapter 8.</ref> ===Doughnut chart=== {{float right clear none|[[File:Example of a doughnut chart.png|thumb|Information about the data as a whole in the center of a doughnut chart]]}} A doughnut chart (also spelled donut) is a variant of the pie chart, with a blank center allowing for additional information about the data as a whole to be included. <ref>{{cite book|last1=Harris|first1=Robert L.|title=Information graphics : a comprehensive illustrated reference|date=1999|publisher=Oxford University Press|location=Oxford|isbn=9780195135329|pages=143|edition=[Nachdr.]}}</ref><ref name="iTunes">{{Cite book|url=https://books.apple.com/us/book/id1178532425|title=Data Design by Juergen Kai-Uwe Brock on iBooks|website=iBooks|date=21 December 2016 |language=en|access-date=2017-06-10}}</ref> Doughnut charts are similar to pie charts in that their aim is to illustrate proportions.{{citation needed|date=October 2017}} This type of circular graph can support multiple statistics at once and it provides a better data intensity ratio to standard pie charts.<ref name="iTunes"/> It does not have to contain information in the center. ===Exploded pie chart=== <!-- 'Exploded pie chart' redirects here. If you rename this section, please also update the redirect. --> [[Image:Pie chart EP election 2004 exploded.png|thumb|150px|left|Exploded pie chart for the example data (see below), with the largest party group exploded.]] A chart with one or more sectors separated from the rest of the disk is known as an ''exploded pie chart''. This effect is used to either highlight a sector, or to highlight smaller segments of the chart with small proportions. ===Polar area diagram=== [[Image:Nightingale-mortality.jpg|thumb|"''Diagram of the causes of mortality in the army in the East''" by Florence Nightingale.]] [[File:2019 Carbon dioxide emissions by income group - Oxfam data.svg|thumb|Like conventional pie charts, a variable-radius pie chart has wedges whose areas represent ''total'' quantities in respective categories/groups. However, here, each radius represents an amount of that quantity ''per unit'' within that category. In this example, each wedge's area represents total {{CO2}} emissions of all people in that category, and each radius represents emissions ''per person'' within that category.]] The polar area diagram is similar to a usual pie chart, except sectors have equal angles and differ rather in how far each sector extends from the center of the circle. The polar area diagram is used to plot cyclic phenomena (e.g., counts of deaths by month). For example, if the counts of deaths in each month for a year are to be plotted then there will be 12 sectors (one per month) all with the same angle of 30 degrees each. The radius of each sector would be proportional to the square root of the death rate for the month, so the area of a sector represents the rate of deaths in a month. If the death rate in each month is subdivided by cause of death, it is possible to make multiple comparisons on one diagram, as is seen in the polar area diagram famously developed by [[Florence Nightingale]]. The first known use of polar area diagrams was by [[André-Michel Guerry]], which he called {{lang|fr|courbes circulaires}} (circular curves), in an 1829 paper showing seasonal and daily variation in wind direction over the year and births and deaths by hour of the day.<ref name="Friendly, p. 509">Friendly, p. 509</ref> [[Léon Lalanne]] later used a polar diagram to show the frequency of wind directions around compass points in 1843. The [[wind rose]] is still used by [[meteorologist]]s. Nightingale published her rose diagram in 1858. Although the name "coxcomb" has come to be associated with this type of diagram, Nightingale originally used the term to refer to the publication in which this diagram first appeared—an attention-getting book of charts and tables—rather than to this specific type of diagram.<ref>{{cite web | url=http://www.florence-nightingale-avenging-angel.co.uk/GraphicsPaper/Graphics.htm | title=Florence Nightingale's Statistical Diagrams | access-date=2010-11-22}}</ref> ==={{anchor|Ring}}Ring chart, sunburst chart, and multilevel pie chart=== <!-- 'Ring chart', 'Sunburst chart', 'Multilevel pie chart', and 'Multi-level pie chart' redirect here. Please do not remove the anchor. --> [[Image:Disk usage (Boabab).png|thumb|right|Multi-level pie chart representing disk usage in a [[Linux]] file system]] {{See also|Radial tree}} A ring chart, also known as a [[sunburst]] chart or a multilevel pie chart, is used to visualize hierarchical data, depicted by concentric circles.<ref>{{Cite web|url=http://www.neoformix.com/2006/MultiLevelPieChart.html|title=Multi-level Pie Charts|website=www.neoformix.com}}</ref> The circle in the center represents the root node, with the hierarchy moving outward from the center. A segment of the inner circle bears a hierarchical relationship to those segments of the outer circle which lie within the angular sweep of the parent segment.<ref>Webber Richard, Herbert Ric, Jiangbc Wel. "Space-filling Techniques in Visualizing Output from Computer Based Economic Models"</ref> ===Spie chart=== [[Image:Spie_chart_001.png|thumb|left|A spie chart comparing number of students with student costs across four different schools]] A variant of the polar area chart is the spie chart, designed by Dror Feitelson.<ref name="spie">{{cite web|url=http://www.cs.huji.ac.il/~feit/papers/Spie03TR.pdf|title=Feitelson, Dror (2003) Comparing Partitions With Spie Charts|year=2003|access-date=2010-08-31}}</ref> The design superimposes a normal pie chart with a modified polar area chart to permit the comparison of two sets of related data. The base pie chart represents the first data set in the usual way, with different slice sizes. The second set is represented by the superimposed polar area chart, using the same angles as the base, and adjusting the radii to fit the data. For example, the base pie chart could show the distribution of age and gender groups in a population, and the overlay their representation among road casualties. Age and gender groups that are especially susceptible to being involved in accidents then stand out as slices that extend beyond the original pie chart. === Square chart / Waffle chart=== [[File:Square Pie Chart - Waffle Chart.jpg|thumb|Square pie chart (waffle chart), showing how smaller percentages are more easily shown than on circular charts. On the 10x10 grid, each cell represents 1%.]] Square charts, also called waffle charts, are a form of pie charts that use squares instead of circles to represent percentages. Similar to basic circular pie charts, square pie charts take each percentage out of a total 100%. They are often 10 by 10 grids, where each cell represents 1%. Despite the name, circles, pictograms (such as of people), and other shapes may be used instead of squares. One major benefit to square charts is that smaller percentages, difficult to see on traditional pie charts, can be easily depicted.<ref name=":0" /> ==Example== [[Image:Pie chart EP election 2004.svg|thumb|A pie chart for the example data]] The following example chart is based on preliminary results of the [[2004 European Parliament election|election for the European Parliament in 2004]]. The table lists the number of seats allocated to each party group, along with the derived percentage of the total that they each make up. The values in the last column, the derived central angle of each sector, is found by taking that percentage of 360. {| class="wikitable" !Group !! Seats !! Percent (%) !! Central angle (°) |- |[[European United Left–Nordic Green Left|EUL]] || 39 || 5.3 || 19.2 |- |[[Party of European Socialists|PES]] || 200 || 27.3 || 98.4 |- |[[European Free Alliance|EFA]] || 42 || 5.7 || 20.7 |- |[[Europe of Democracies and Diversities|EDD]] || 15 || 2.0 || 7.4 |- |[[European Liberal Democrat and Reform Party|ELDR]] || 67 || 9.2 || 33.0 |- |[[European People's Party|EPP]] || 276 || 37.7 || 135.7 |- |[[Union for Europe of the Nations|UEN]] || 27 || 3.7 || 13.3 |- |Other || 66 || 9.0 || 32.5 |- |Total || 732 || 99.9* || 360.2* |} <nowiki>*</nowiki>Because of [[rounding]], these totals do not add up to 100 and 360. The size of each central angle is proportional to the size of the corresponding quantity, here the number of seats. Since the sum of the central angles has to be 360°, the central angle for a quantity that is a fraction ''Q'' of the total is 360''Q'' degrees. In the example, the central angle for the largest group (European People's Party (EPP)) is 135.7° because 0.377 times 360, rounded to one decimal place, equals 135.7. ==Use and effectiveness== [[File:Atmospheric air components percentage.jpg|thumb|left|3D pie chart showing Atmospheric air components percentage]] A flaw exhibited by pie charts is that they cannot show more than a few values without separating the visual encoding (the “slices”) from the data they represent (typically percentages). When slices become too small, pie charts have to rely on colors, textures or arrows so the reader can understand them. This makes them unsuitable for use with larger amounts of data. Pie charts also take up a larger amount of space on the page compared to the more flexible bar charts, which do not need to have separate legends, and can display other values such as averages or targets at the same time.<ref name="sfew" /> [[Statisticians]] generally regard pie charts as a poor method of displaying information, and they are uncommon in scientific literature. One reason is that it is more difficult for comparisons to be made between the size of items in a chart [[Stevens' power law|when area is used instead of length]] and when different items are shown as different shapes.<ref>{{cite web |last1=Krygier |first1=John |title=Perceptual Scaling of Map Symbols |url=http://makingmaps.net/2007/08/28/perceptual-scaling-of-map-symbols/ |website=makingmaps.net |date=28 August 2007 |access-date=3 May 2015}}</ref> [[File:Piecharts.svg|thumb|right|Three sets of percentages, plotted as both piecharts and barcharts. Comparing the data on barcharts is generally easier.]] Further, in research performed at [[AT&T Bell Laboratories]], it was shown that comparison by angle was less accurate than comparison by length. Most subjects have difficulty ordering the slices in the pie chart by size; when an equivalent bar chart is used the comparison is much easier.<ref name="cleveland85">Cleveland, p. 86–87</ref> Similarly, comparisons between data sets are easier using the bar chart. However, if the goal is to compare a given category (a slice of the pie) with the total (the whole pie) in a single chart and the multiple is close to 25 or 50 percent, then a pie chart can often be more effective than a bar graph.<ref>Simkin, D., & Hastie, R. (1987). An Information-Processing Analysis of Graph Perception. Journal of the American Statistical Association, 82(398), 454. {{doi|10.2307/2289447}}. {{cite web |last=Kosara |first=Robert |title=In Defense of Pie Charts |date=13 April 2011 |url=http://eagereyes.org/criticism/in-defense-of-pie-charts |access-date=April 13, 2011}}</ref><ref name="spence91" >{{cite journal |last=Spence |first=Ian |author2=Lewandowsky, Stephan |title=Displaying proportions and percentages |journal=Applied Cognitive Psychology |date=1 January 1991 |volume=5 |issue=1 |pages=61–77 |doi=10.1002/acp.2350050106}}</ref> [[Image:Badpie.png|thumb|left|An example of a pie chart with 18 values, with some colors repeated]] In a pie chart with many section, several values may be represented with the same or similar colors, making interpretation difficult. [[Image:Doughnut shape Pie Chart.jpg|thumb|right|An example of a doughnut shape pie chart, showing the batting and run records of Indian cricket players in test matches in 2019]] Several studies presented at the ''European Visualization Conference'' analyzed the relative accuracy of several pie chart formats,<ref>{{Cite news|url=https://eagereyes.org/blog/2016/an-illustrated-tour-of-the-pie-chart-study-results|title=An Illustrated Tour of the Pie Chart Study Results|date=2016-06-28|newspaper=eagereyes|language=en-US|access-date=2016-11-28}}</ref><ref>{{Cite journal|last1=Skau|first1=Drew|last2=Kosara|first2=Robert|year=2016|title=Arcs, Angles, or Areas: Individual Data Encodings in Pie and Donut Charts|url=http://kosara.net/publications/Skau-EuroVis-2016.html|journal=EuroVis}}</ref><ref name=":0">{{Cite journal|last1=Kosara|first1=Robert|last2=Skau|first2=Drew|year=2016|title=Judgment Error in Pie Chart Variations|url=http://kosara.net/publications/Kosara-EuroVis-2016.html|journal=EuroVis}}</ref> reaching the conclusion that pie charts and doughnut charts produce similar error levels when reading them, and square pie charts provide the most accurate reading.<ref>{{Cite news|url=https://eagereyes.org/blog/2016/a-reanalysis-of-a-study-about-square-pie-charts-from-2009|title=A Reanalysis of A Study About (Square) Pie Charts from 2009|date=2016-07-11|newspaper=eagereyes|language=en-US|access-date=2016-11-28}}</ref> {{clear|left}} ==See also== * [[Data and information visualization]] == References == {{Reflist|2}} == Further reading == * {{cite book | last=Cleveland | first=William S. |title=The Elements of Graphing Data |publisher=Wadsworth & Advanced Book Program |year=1985 |location=Pacific Grove, CA |isbn=0-534-03730-5 }} * [[Friendly, Michael]]. "[http://projecteuclid.org/DPubS?service=UI&version=1.0&verb=Display&handle=euclid.ss/1242049392 The Golden Age of Statistical Graphics]," ''Statistical Science,'' Volume 23, Number 4 (2008), 502–535 * [[Phillip Good|Good, Phillip I.]] and Hardin, James W. ''Common Errors in Statistics (and How to Avoid Them)''. Wiley. 2003. {{ISBN|0-471-46068-0}}. * Guerry, A.-M. (1829). Tableau des variations météorologique comparées aux phénomènes physiologiques, d'aprés les observations faites à l'obervatoire royal, et les recherches statistique les plus récentes. ''Annales d'Hygiène Publique et de Médecine Légale'', 1 :228-. * {{cite book | last=Harris | first=Robert L. | title = Information Graphics: A comprehensive Illustrated Reference | publisher=[[Oxford University Press]]|year=1999|isbn=0-19-513532-6}} * [[Manuel Lima|Lima, Manuel]]. "[https://blog.usejournal.com/why-humans-love-pie-charts-9cd346000bdc Why humans love pie charts: an historical and evolutionary perspective]," ''Noteworthy'', July 23, 2018 * [[Gilles Palsky|Palsky Gilles]]. ''Des chiffres et des cartes: la cartographie quantitative au XIXè siècle''. Paris: Comité des travaux historiques et scientifiques, 1996. {{ISBN|2-7355-0336-4}}. * Playfair, William, ''Commercial and Political Atlas and Statistical Breviary'', [[Cambridge University Press]] (2005) {{ISBN|0-521-85554-3}}. * [[Ian Spence (psychologist)|Spence, Ian]]. [https://web.archive.org/web/20070320232857/http://www.psych.utoronto.ca/~spence/Spence%202005.pdf No Humble Pie: The Origins and Usage of a statistical Chart]. ''Journal of Educational and Behavioral Statistics''. Winter 2005, 30 (4), 353–368. * [[Edward Tufte|Tufte, Edward]]. ''The Visual Display of Quantitative Information''. Graphics Press, 2001. {{ISBN|0-9613921-4-2}}. * Van Belle, Gerald. ''Statistical Rules of Thumb''. Wiley, 2002. {{ISBN|0-471-40227-3}}. * [[Leland Wilkinson|Wilkinson, Leland]]. ''The Grammar of Graphics'', 2nd edition. Springer, 2005. {{ISBN|0-387-24544-8}}. == External links == {{commons category}} {{Statistics|descriptive}} [[Category:Statistical charts and diagrams]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:About
(
edit
)
Template:Anchor
(
edit
)
Template:CO2
(
edit
)
Template:Citation needed
(
edit
)
Template:Cite book
(
edit
)
Template:Cite journal
(
edit
)
Template:Cite news
(
edit
)
Template:Cite web
(
edit
)
Template:Clear
(
edit
)
Template:Commons category
(
edit
)
Template:Distinguish
(
edit
)
Template:Doi
(
edit
)
Template:Float right clear none
(
edit
)
Template:Gallery
(
edit
)
Template:ISBN
(
edit
)
Template:Lang
(
edit
)
Template:Reflist
(
edit
)
Template:Rp
(
edit
)
Template:See also
(
edit
)
Template:Short description
(
edit
)
Template:Sister project
(
edit
)
Template:Statistics
(
edit
)