How to make a sunburst chart in Excel
Put each level of your hierarchy in its own column with the values in the last column, select the data, then click Insert > Insert Hierarchy Chart > Sunburst. A sunburst only suits a small hierarchy, so check whether a treemap or bar chart would read better.
Updated · 4 min read
What a sunburst chart shows
A sunburst draws a hierarchy as a set of rings. In Microsoft's words, each level of the hierarchy is one ring, and the innermost circle is the top of the hierarchy. With regions and products, the inner ring holds the regions and the outer ring splits each region into its products. The size of each slice shows its value.
Microsoft says the sunburst is most effective at showing how one ring breaks into its contributing pieces, and that the treemap is the better chart for comparing relative sizes. With only one level of categories, a sunburst looks much like a doughnut chart.
Set up your data for a sunburst chart
Most problems start here. Put each level of the hierarchy in its own column, top level on the left, and the numbers in the last column. Give each item at the lowest level its own row.
| Region | Product | Units |
|---|---|---|
| North | Chairs | 42 |
| North | Desks | 28 |
| South | Chairs | 35 |
| South | Desks | 31 |
| West | Chairs | 22 |
| West | Desks | 18 |
Write the parent name on every row, even though it repeats. A column that says "North" twice looks untidy, but it keeps each product tied to its region, and the table still works when you sort or filter it. Microsoft's page says little about blank cells. Its one note is that Recommended Charts only suggests a sunburst when there are empty cells within the hierarchy.
Keep the category names short, because the labels have to fit inside the slices. Here is the same sample data as plain grouped bars, so you can see what goes into the rings.
Chairs outsold desks in all three regions
Units sold
North has the highest Chairs at 42, ahead of South (35). West has the lowest at 22. Chairs is above Desks in all 3.
- Chairs
- Desks
Source: Sample data
| Region | Chairs | Desks |
|---|---|---|
| North | 42 | 28 |
| South | 35 | 31 |
| West | 22 | 18 |
Insert the sunburst chart
On Windows:
- Select your data.
- Click Insert > Insert Hierarchy Chart > Sunburst.
You can also go to Insert > Recommended Charts > All Charts and pick Sunburst there.
On a Mac:
- Select your data.
- On the ribbon, click the Insert tab, click the Hierarchy icon and select Sunburst.
Check your version if the option is missing. Microsoft's page lists Excel 2016, 2019, 2021, 2024 and Microsoft 365 on Windows, Excel 2021, 2024 and Microsoft 365 on Mac, and Excel for iPad and iPhone. Excel for the web is not on that list, and neither is any version older than Excel 2016.
Make the sunburst easier to read
Click anywhere in the chart to show the Chart Design and Format tabs on the ribbon. Microsoft points to these two tabs for changing how the chart looks.
The rest comes down to restraint, and it applies to most charts:
- Write a title that states the point. "The North sold the most" tells readers something. "Sales by region" only names the data.
- Shorten the names in the table. A label that does not fit inside its slice is a label nobody reads.
- Keep to two or three levels. Each extra ring makes the outer slices thinner.
For the general clean-up (fonts, gridlines, colour), see how to make Excel charts look professional.
Fix the common problems
Wrong slice order. Microsoft's help page does not document a way to reorder the slices. An answer on Microsoft's Q&A forum says the sunburst puts the largest value first, runs from largest to smallest clockwise, and that this order cannot be changed. If the sequence matters, as with months or stages, use a bar chart, where you control the order.
Missing labels. A slice that is too small for its text loses its label. Shorten the name, or group the small items into an "Other" row. The same Q&A answer suggests that grouping to make small values easier to see.
Too many rings. In practice, past three levels the outer slices get thin, labels drop out and comparisons become guesswork. Cut a level, or chart the bottom level for one branch at a time.
When a sunburst is the wrong chart
A sunburst asks readers to compare angles and areas around a circle. The FT Visual Vocabulary warns about the pie for the same reason: it is difficult to compare the size of the segments accurately. If the job is comparing values, use bars, which readers judge by length from a shared baseline. The best chart for comparison guide covers the options, and the chart picker helps when you are not sure.
A treemap keeps the idea of parts inside parts but uses nested rectangles, which leave more room for labels. The FT lists it for hierarchical part-to-whole data, with the warning that it gets hard to read when there are many small segments. Here is the sample data as a treemap.
The North sold the most: 70 of the 176 units
Units sold, by region and product
North chairs is the largest at 42, 24% of the 176 total. The top three make up 61%. By group, North leads with 40%.
- North
- South
- West
Source: Sample data
| item | region | Units sold | Share |
|---|---|---|---|
| North chairs | North | 42 | 23.9% |
| South chairs | South | 35 | 19.9% |
| South desks | South | 31 | 17.6% |
| North desks | North | 28 | 15.9% |
| West chairs | West | 22 | 12.5% |
| West desks | West | 18 | 10.2% |
Put the bar, treemap and sunburst versions side by side and ask which one gets the point across fastest. For a small, two-level hierarchy, the bars or the treemap usually win.
A faster route for a clearer version
Chartsmade has no sunburst chart. It draws the alternatives above: treemaps grouped by a parent category, grouped, stacked and horizontal bars, donuts for a single level (up to 12 slices), and sankey diagrams for flows. Paste your table or CSV into the bar chart maker, pick a suggested chart, then download a PNG (fixed sizes up to 1920×1080) or SVG, or share a live embed. It is free to start, and free downloads carry a small "Made with Chartsmade" line.
If you keep the sunburst in Excel, exporting an Excel chart as a PNG covers getting a clean image out of it.
Questions
- Where is the sunburst chart in Excel?
- On Windows, select your data and click Insert > Insert Hierarchy Chart > Sunburst. On a Mac, click the Insert tab, then the Hierarchy icon, and select Sunburst. On Windows you can also find it under Insert > Recommended Charts > All Charts.
- Why is my Excel sunburst chart missing or greyed out?
- Check your version first. Microsoft's page lists Excel 2016, 2019, 2021, 2024 and Microsoft 365 on Windows, Excel 2021, 2024 and Microsoft 365 on Mac, and Excel for iPad and iPhone. Excel for the web and versions older than Excel 2016 are not on the list.
- How do I set up data for a sunburst chart?
- Put each level of the hierarchy in its own column, top level on the left, and the values in the last column, with one row for each item at the lowest level. Write the parent name on every row, even when it repeats.
- Can I change the order of the slices in an Excel sunburst chart?
- Microsoft's help page does not document a way to reorder them. An answer on Microsoft's Q&A forum says the chart puts the largest value first, runs from largest to smallest clockwise, and that this cannot be changed. If order matters, use a bar chart.
- What is the difference between a sunburst chart and a treemap?
- Both show a hierarchy. A sunburst uses rings, with the top level in the centre. A treemap uses nested rectangles. Microsoft says the sunburst is better at showing how one level breaks into the next, and the treemap is better for comparing relative sizes.