Icicle chartA hierarchy as rows of blocks.
The whole on top, each row below split into the parts of the row above. Widths are values, so every level reads like one long bar.
- Answers What share does each part have?
- Your data items in groups, with a value
- Levels 2 to about 5
- Blocks up to a few dozen
- Excel and Power BI a custom visual
- Social
- Transport
- Schools
What is an icicle chart?
An icicle chart draws a hierarchy as rows of blocks. The top row is the whole, and each row below splits the blocks above it into their parts, every block as wide as its value. It is a sunburst unrolled into straight rows, so every level reads like one long bar.
A city's budget of 500 million splits into areas and then into services. An icicle chart shows the budget on top, the areas below, and the services under each area: social care is the widest block on the bottom row.
Why use an icicle chart?
Because it shows a hierarchy with straight, readable widths.
- Levels in rows. Each level is one row, top to bottom.
- Widths are values. Straight lengths read better than arcs.
- Room for labels. Long, flat blocks fit names.
- Deep trees fit. More levels just add rows.
How does an icicle chart work?
Three steps split rows into blocks.
- Step 1 of 3The whole on topThe full width is the whole budget.
- Social
- Transport
- Schools
- Step 2 of 3The areas belowSocial is 190 of 500: its block is 38% of the width.
- Social
- Transport
- Schools
- Step 3 of 3The services under eachEach area splits into its services, right below it.
- Social
- Transport
- Schools
What are the parts of an icicle chart?
Three parts, and each one has a job.
- Social
- Transport
- Schools
- Top rowthe whole
- Groupa block of the middle row
- Parta block under its group; its width is its value
How do you read an icicle chart?
Three looks, in this order.
- Read top to bottomThe budget, then the areas, then the services.
- Social
- Transport
- Schools
- Find the widest areaSocial is the widest area: 190 million.
- Social
- Transport
- Schools
- Look under itInside Social, care takes the larger share: 120.
- Social
- Transport
- Schools
What kinds of icicle chart are there?
The same hierarchy, three ways.
- Kind 1IcicleRows of blocks.
- Social
- Transport
- Schools
- Kind 2One branch litOne area and its services in colour.
- Social
- Transport
- Schools
- Kind 3SunburstThe same levels as rings.
- Social
- Transport
- Schools
When should you use an icicle chart?
When a hierarchy should read level by level, with labels.
- there is a hierarchy that adds up
- levels matter
- names must be readable
- there are 2 to about 5 levels
- there is only one level (a bar chart)
- many items at one level (a treemap)
- exact comparisons across groups (a bar chart)
- the flow between steps is the story (a Sankey)
Icicle chart or sunburst?
Icicles for reading, sunbursts for looks.
- Social
- Transport
- Schools
- Social
- Transport
- Schools
A sunburst bends the same blocks into rings: it looks good, but arcs are hard to compare and outer labels are cramped. The icicle keeps every block straight, so widths compare like bars and names fit.
How do you make an icicle chart?
A custom visual in Power BI; code elsewhere.
Excel has no icicle chart; stacked bars per level can imitate it. Power BI has no icicle chart; the decomposition tree explores the same kind of hierarchy level by level. In Python, plotly draws one with px.icicle.
What goes wrong with icicle charts?
The most common mistake, and its fix: blocks too narrow for their names.
- small parts at the bottom become thin blocks with no room for a name
- readers must hover or guess
| Mistake | Why it hurts | Fix |
|---|---|---|
| Thin unlabelled blocks | Names don't fit | "Others", or open one branch |
| Parts that don't add up | Rows don't line up | Only sums nest |
| Colours by level, not by group | Parts lose their group | Colour by group |
| Too many levels | Very thin bottom rows | 2 to 5 levels |
| Exact comparisons across branches | Widths in different rows mislead | Bars for exact values |
Every chart for “What share does each part have?”
- One wholePie chartA circle cut into slices, for a few shares of one total.
- One wholeDonut chartA pie with a hole, with room for the total in the middle.
- One wholeWaffle chartA grid of 100 squares, each one per cent.
- One wholeParliament chartSeats in a half circle, coloured by party.
- Shares across groupsStacked bar chartBars split into parts, for totals and what makes them up.
- Shares across groups100% stacked bar chartEvery bar the same length, split into shares.
- Shares across groupsMarimekko chartStacked bars whose width is also a value, for two levels of share.
- Nested partsTreemapRectangles sized by value, nested by level.
- Nested partsSunburst chartRings of a hierarchy, from the centre out.
- Nested partsCircle packingCircles inside circles, sized by value, for a hierarchy.
- Building up to a totalWaterfall chartSteps up and down from a start to an end, for what changed a total.
- Building up to a totalPolar area chartWedges of equal angle whose length shows the value.
Read on, step by step.
Does it fit your data? Try it.
Paste your table into Chart Compass, say what the chart should show, and see the charts that fit, drawn with your own numbers. It runs in your browser, so the data stays with you.