The comparison at a glance
| Condition | Pie | Bars |
|---|---|---|
| One nonnegative whole | Possible | Possible |
| Negative changes | Unsuitable | Diverging bars |
| Many close values | Harder to compare | Shared baseline helps |
| Several groups | Separate pies complicate comparison | Grouped or 100% stacked |
Establish the denominator first
Imagine three fictional counts of 20, 30 and 50. They total 100, so their shares are 20%, 30% and 50%. A pie can represent that whole only if the categories are mutually exclusive and collectively describe the intended total. If respondents can choose several answers, adding selections does not automatically produce a count of people.
Compare the close values
With counts of 31, 33 and 36, all slices would be similar. A sorted bar chart gives each value the same baseline and leaves room for direct labels. The choice is not about decoration: ask whether the reader must identify a dominant share or distinguish small differences among categories. A table can accompany either display for exact values.
Some data cannot form a pie
Negative amounts and a zero total cannot produce valid nonnegative parts of a whole. A diverging bar chart can show signed changes around zero without turning them into positive slices. Several reporting periods also become difficult to compare as separate pies; grouped or percentage-stacked bars may make the question clearer.
Use the available tool honestly
ChartsAI currently provides a bar maker, including 100% stacked mode, and does not claim to offer an interactive pie maker. The worked example below demonstrates shares with unequal denominators. Download the original counts to compare amounts as well as composition, and avoid interpreting equal-height percentage bars as equal sample sizes.
A related chart you can inspect
References and reproducibility
The worked arithmetic and teaching examples on this page are original. Background reading: ONS guidance on axes. Source code and reuse terms expose the implemented calculations.
Written by SupaMakers for ChartsAI · September 8, 2026.