Sunburst chartA hierarchy in rings.
Rings around a centre, one per level: groups on the inside, their parts on the outside. A pie that can show what each slice is made of.
- Answers What share does each part have?
- Your data items in groups, with a value
- Levels 2 to 3
- Groups 2 to about 6
- Excel and Power BI Excel built in, Power BI custom visual
- Operations
- Sales
- Office
What is a sunburst chart?
A sunburst chart draws a hierarchy as rings around a centre. The inner ring holds the top groups, and each ring further out splits them into their parts, every arc sized by its value. It works like a pie whose slices show what they are made of.
A company's 200 staff work in three departments, each split into teams. A sunburst shows Operations as half the inner ring, and around it, its warehouse team as the biggest arc.
Why use a sunburst chart?
Because it shows the whole, the groups and their parts in one round picture.
- Levels show. Inner ring for groups, outer for parts.
- Parts stay with their group. Each outer arc sits right outside its group.
- The whole is the circle. Like a pie, all together are 100%.
- Striking. It makes a hierarchy look simple.
How does a sunburst chart work?
Three steps grow rings outward.
- Step 1 of 3The total in the middle200 staff in all.
- Operations
- Sales
- Office
- Step 2 of 3Groups on the inner ringOperations is 100 of 200: half the ring.
- Operations
- Sales
- Office
- Step 3 of 3Parts on the outer ringEach team sits just outside its department.
- Operations
- Sales
- Office
What are the parts of a sunburst chart?
Four parts, and each one has a job.
- Operations
- Sales
- Office
- Centrethe total
- Inner ringthe top groups
- Outer ringeach group's parts
How do you read a sunburst chart?
Three looks, in this order.
- Read the inner ringThe departments: Operations half, Sales and Office the rest.
- Operations
- Sales
- Office
- Follow one group outSales splits into Field and Online.
- Operations
- Sales
- Office
- Find the biggest outer arcThe warehouse team is the biggest: 60 of 200.
- Operations
- Sales
- Office
What kinds of sunburst chart are there?
The same hierarchy, three ways.
- Kind 1SunburstRings from the centre.
- Operations
- Sales
- Office
- Kind 2IcicleThe same levels as rows of blocks.
- Operations
- Sales
- Office
- Kind 3TreemapNested rectangles.
- Operations
- Sales
- Office
When should you use a sunburst chart?
When a whole splits into groups and parts, and the levels matter.
- there is a hierarchy of 2 or 3 levels
- the parts add up to a whole
- a few groups, each with a few parts
- the picture should invite exploring
- values must be compared exactly (a bar chart)
- there are many items (a treemap)
- there is only one level (a pie or a bar chart)
- there are more than 3 levels (an icicle or a tree)
Sunburst chart or treemap?
A sunburst for levels, a treemap for many items.
- Operations
- Sales
- Office
- Operations
- Sales
- Office
A treemap uses every bit of space and fits many more items, but the levels are only borders. The sunburst puts each level in its own ring, so the hierarchy is clear, at the cost of space in the corners and arcs that are harder to compare.
How do you make a sunburst chart?
Built into Excel; a custom visual in Power BI.
In Excel, choose Insert > Hierarchy chart > Sunburst, with one column per level. Power BI has sunburst charts as custom visuals from AppSource. In Python, plotly draws one with px.sunburst.
What goes wrong with sunburst charts?
The most common mistake, and its fix: too many levels.
- outer rings break into slivers too thin to see or label
- the eye gets lost going outward
- keep the rings few
- for deep trees, an icicle or a tree that can open level by level
| Mistake | Why it hurts | Fix |
|---|---|---|
| Too many levels | Outer slivers can't be read | 2 to 3 levels |
| Comparing arcs exactly | Arcs on different rings mislead | Bars for exact values |
| No total in the middle | The whole is unclear | Write the total |
| Colours unrelated to groups | Parts lose their group | Colour by group, lighter outside |
| Many tiny groups | A fringe of slivers | Group them as "others" |
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 partsIcicle chartA hierarchy as rows of blocks, each split into its children.
- 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.