Parts of a whole
Stacked bars, pies, treemaps, waffles and waterfalls, and when a share chart hides what you wanted to see.
You will be able to
- Choose a composition chart for the number of parts
- Explain why middle segments of a stack are hard to compare
- Show how a total was built with a waterfall
Read first
How many parts?
Read- Two or three parts: a pie or a single stacked bar is fine.
- Up to seven or so: sorted bars let readers compare.
- Many parts, with a hierarchy: a treemap shows the big ones and groups the rest.
- People-friendly counts: a waffle chart shows "37 in 100".
Which segment can you compare?
PredictPredict first
A stacked bar chart shows four product lines per year. Which segment can you compare most accurately across years?
Reveal
The answer: Bottom segment
The bottom one, because all its bars share a baseline. Middle segments float on whatever is underneath, so their differences are hard to read. If one part matters most, put it at the bottom. If several do, use small multiples.
View data
| team | priority |
|---|---|
| Web | High |
| Data | High |
| Web | Medium |
| Mobile | Medium |
| Mobile | High |
| Platform | High |
| Web | High |
| Support tools | Medium |
| Payments | Low |
| Web | Medium |
| Support tools | Low |
| Data | Medium |
| Web | Medium |
| Platform | Medium |
| Mobile | Medium |
| Mobile | Medium |
| Data | Low |
| Web | Low |
| Platform | High |
| Data | Medium |
| Support tools | Low |
| Platform | Medium |
| Data | Critical |
| Platform | Medium |
| Web | Low |
| Web | Critical |
| Data | High |
| Payments | Low |
| Data | Medium |
| Platform | Medium |
| Data | Medium |
| Platform | Medium |
| Platform | Critical |
| Platform | Low |
| Web | Medium |
| Data | Low |
| Support tools | Medium |
| Data | Medium |
| Web | Low |
| Data | Medium |
| Web | Medium |
| Support tools | Medium |
| Platform | High |
| Support tools | Medium |
| Data | Low |
| Data | Medium |
| Payments | Critical |
| Payments | Medium |
| Platform | Critical |
| Web | Medium |
| Platform | Low |
| Payments | Low |
| Web | Medium |
| Web | Medium |
| Payments | Medium |
| Payments | Critical |
| Payments | High |
| Payments | Medium |
| Web | Medium |
| Payments | Critical |
First 60 of 900 rows.
How the total was built
ExploreA waterfall walks from a start to an end through its increases and decreases. It's the clearest way to answer "why did profit change?"
View data
| driver | change_m | is_total |
|---|---|---|
| FY2025 revenue | 29.704 | true |
| FY2025 revenue | 35.328 | true |
| FY2025 revenue | 31.694 | true |
| FY2025 revenue | 23.274 | true |
| Price | 1.902 | false |
| Price | 1.275 | false |
| Price | 2.408 | false |
| Price | 2.815 | false |
| Volume | 2.189 | false |
| Volume | 2.884 | false |
| Volume | 3.549 | false |
| Volume | 3.478 | false |
| Mix | −0.9810 | false |
| Mix | −0.4710 | false |
| Mix | −0.8560 | false |
| Mix | −0.8920 | false |
| Gross | — | true |
| FX | −1.699 | false |
| FX | −1.387 | false |
| FX | −0.7640 | false |
| FX | −1.750 | false |
| Churn | −2.847 | false |
| Churn | −1.262 | false |
| Churn | −2.766 | false |
| Churn | −1.025 | false |
| New logos | 2.417 | false |
| New logos | 2.386 | false |
| New logos | 2.782 | false |
| New logos | 1.715 | false |
Open it in Charts and read it from left to right. Which step would you ask about first?
Two categories at once
In the appA Mosaic plot shows a table's two categorical variables: widths for one and heights for the other. If the rows' divisions line up across the columns, the two are unrelated.
Open Mosaic in Charts and read its How to read tab.
View data
| class | outcome |
|---|---|
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
| 1st | Survived |
First 60 of 2201 rows.
Check your understanding
CheckpointCheck yourself
Which is the most defensible use of a pie chart?
Show the answer
Answer: a
A pie reads well when it says "about a quarter". It reads badly when several similar angles must be compared.
Check yourself
A product's share fell from 40% to 30%, and the total market doubled. What happened to its sales?
Show the answer
Answer: b
Before: 0.4 × 1. After: 0.3 × 2 = 0.6. A falling share can hide rising sales, so show the total as well.
Recap
Recap- Choose by the number of parts.
- Only the bottom segment of a stack shares a baseline.
- Shares hide totals, so show both when the total changes.