thumb|right|Pie chart of populations of [[English language|English native speakers]]
A pie chart (or a circle chart) is a circular 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 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.
Pie charts are very widely used in the business world and the mass media. However, they have been criticized, and many experts recommend avoiding them, 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"). Playfair presented an illustration, which contained a series of pie charts. One of those charts depicted the proportions of the Turkish Empire located in Asia, Europe and Africa before 1789. This invention was not widely used at first.
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 cock's comb. She was later assumed to have created it due to the obscurity and lack of practicality of Playfair's creation. Nightingale's polar area diagram, 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."
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. Doughnut charts are similar to pie charts in that their aim is to illustrate proportions. This type of circular graph can support multiple statistics at once and it provides a better data intensity ratio than standard pie charts. 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 meteorologists. 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.
<gallery mode=packed heights=200>
Image:Nightingale-mortality.jpg|"Diagram of the causes of mortality in the army in the East" by Florence Nightingale
</gallery>
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. -->
thumb|right|Multi-level pie chart representing disk usage in a [[Linux file system]]
A ring chart, also known as a sunburst chart or a multilevel pie chart, is used to visualize hierarchical data, depicted by concentric circles. 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.
Spie chart
thumb|left|Example of a superimposed disc diagram: Car accidents are distributed across age groups, male and female. The central angle represents age, while the radius represents the number of people in that age group who were involved in an accident.
A variant of the polar area chart is the spie chart, designed by Dror Feitelson.
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
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.
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. 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.
thumb|left|An example of a pie chart with 18 values, with some colors repeated
In a pie chart with many sections, several values may be represented with the same or similar colors, making interpretation difficult.
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, 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.
See also
- Data and information visualization
References
Further reading
- Friendly, Michael. "The Golden Age of Statistical Graphics," Statistical Science, Volume 23, Number 4 (2008), 502–535
- Good, Phillip I. and Hardin, James W. Common Errors in Statistics (and How to Avoid Them). Wiley. 2003. .
- 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-.
- Lima, Manuel. "Why humans love pie charts: an historical and evolutionary perspective ," Noteworthy, July 23, 2018
- Palsky Gilles. Des chiffres et des cartes: la cartographie quantitative au XIXè siècle. Paris: Comité des travaux historiques et scientifiques, 1996. .
- Playfair, William, Commercial and Political Atlas and Statistical Breviary, Cambridge University Press (2005) .
- Spence, Ian. No Humble Pie: The Origins and Usage of a statistical Chart. Journal of Educational and Behavioral Statistics. Winter 2005, 30 (4), 353–368.
- Tufte, Edward. The Visual Display of Quantitative Information. Graphics Press, 2001. .
- Van Belle, Gerald. Statistical Rules of Thumb. Wiley, 2002. .
- Wilkinson, Leland. The Grammar of Graphics, 2nd edition. Springer, 2005. .
