How to Set Up a Sunburst Chart in Excel
In this article
Excel can build a sunburst chart for you in a few clicks, provided your data is arranged as a strict hierarchy: one column per level, with the broadest category first and the smallest detail last. Select that block (headers included), go to Insert > Chart > Sunburst, and Excel draws the concentric rings automatically. The chart is available in Excel 2016 and later on Windows and Mac, in Excel for the web, and in Microsoft 365; very old versions do not have it. The rest of this guide covers preparing the data correctly, formatting the rings, and fixing the problems that make sunburst charts look wrong.
What You'll Need
- Excel 2016 or later, Microsoft 365, or Excel for the web. Excel 2013 and earlier have no sunburst chart type.
- Data laid out in adjacent columns, one column per hierarchy level, with a single header row.
- Numeric values in one column so the ring sizes mean something (counts, sales, hours, and so on).
- No blank cells inside the hierarchy block, and no merged cells.
Step-by-Step
- Lay out the hierarchy from broad to narrow. Put the top level in column A, the next level in column B, and so on. For example: Region in A, Country in B, Product in C, and Sales in D. Each row describes one leaf of the tree, so a row reads like "North, UK, Widgets, 1200".
- Repeat the parent labels on every row. Every row that belongs to the same region must literally contain that region name. Do not leave parent cells blank to "group" them visually; Excel treats a blank as its own category and the rings break apart.
- Keep the value column numeric and clean. Remove text like "n/a" or currency symbols typed as text. If a number is stored as text, the ring for that row will be missing or zero-sized. Use a helper column with a formula such as =VALUE(cell) if needed, then paste the results back as values.
- Select the whole block including headers. Click the top-left header cell and drag to the bottom-right of the last value. Do not select the value column on its own; the chart needs the label columns to build the levels.
- Insert the chart. On the ribbon go to Insert, find the Charts group, click the small icon that opens the full chart gallery (labelled "Insert Statistic Chart" or "See All Charts" depending on your version), open the Hierarchical or Sunburst section, and choose Sunburst. Labels can differ slightly between Excel versions and platforms, but the chart lives in the same place.
- Check the level order. Excel reads the columns left to right as levels, so the leftmost label column becomes the inner ring. If the rings are inside out, either reorder the columns or use Chart Design > Select Data and reorder the series.
- Add or remove data labels. Click the chart, then the plus button beside it (or Chart Design > Add Chart Element) and tick Data Labels. In the label options choose Category Name and Value, and turn off "Show leader lines" if the labels clutter the rings.
- Adjust colours and ring size. Right-click a slice and choose Format Data Point to recolour a single segment, or use Chart Design > Change Colors for a whole palette. The centre hole size is controlled by the chart's formatting pane; a larger hole gives more room for inner labels.
- Filter or sort to reduce clutter. A sunburst with dozens of tiny slices is unreadable. Use the chart's filter buttons to hide small categories, or sort the source table by value descending so the biggest slices sit together.
- Refresh after edits. If the chart is based on a table or range and you add rows, either extend the range or convert the source to an Excel Table (Ctrl+T) so the chart picks up new data automatically.
Common Mistakes
The most frequent problem is blank parent cells. People merge or leave gaps to make the sheet look tidy, and the chart then shows a separate unnamed ring segment for every blank. Fill every cell down.
Second, mixing text and numbers in the value column. A single text entry can make a whole branch disappear or render at zero. Third, selecting only the value column before inserting, which produces a chart with one flat ring. Fourth, putting the detail column first and the broad category last, which inverts the hierarchy. Fifth, using a sunburst when the data is not hierarchical at all; a bar chart or treemap communicates flat category totals better.
Tips
Keep the hierarchy to three or four levels. Beyond that the outer rings become hairline-thin and unreadable on screen and in print. Use short, consistent labels, because long names wrap awkwardly inside narrow slices.
If you want to show one branch in detail, filter the source table to that branch and build a second, smaller chart rather than cramming everything into one. For presentations, increase the chart's font size and reduce the number of colours; a sunburst with twenty shades is harder to read than one with five. Remember that a sunburst shows part-to-whole relationships, so the values should add up to a meaningful total.
Troubleshooting
The Sunburst option is greyed out or missing. Check your Excel version first; the chart does not exist before Excel 2016. If you are on an old file format (.xls), save it as .xlsx and try again.
The chart is a single solid circle. Excel has not recognised the hierarchy. Make sure more than one label column is selected and that the columns are adjacent with no blank column between them.
There are empty or "blank" slices. Find the blank cells in the label columns and fill them with the correct parent name. Also check for trailing spaces, which make two spellings of the same category.
Some slices are missing entirely. Look for text in the value column, negative numbers, or zeros. Sunburst charts do not display negative values meaningfully; convert them or exclude them.
Labels overlap or are cut off. Reduce the number of levels, shorten category names, enlarge the chart, or switch to showing values only and use a legend for names.
The chart does not update. Press F5 or use Data > Refresh All if the source is a query, and confirm the chart's data range still covers the new rows.
Frequently Asked Questions
Can I make a sunburst chart in Excel for the web?
Yes, Excel for the web can insert and display sunburst charts, though some fine-grained formatting options are more limited than in the desktop app.
How many levels can a sunburst chart show?
Technically many, but practically three or four. Outer rings get too thin to read beyond that.
Why does my chart show a ring for every row?
Because each row is being treated as a unique combination. Duplicate parent labels must match exactly, including spacing and capitalisation, so identical categories group into one slice.
Can I use negative values?
No, sunburst charts are designed for positive part-to-whole values. Negative numbers are ignored or distort the display.
What is the difference between a sunburst and a treemap?
Both show hierarchy, but a treemap uses nested rectangles and a sunburst uses concentric rings. Treemaps usually handle more categories and long labels better.
Can I copy the chart into PowerPoint?
Yes. Copy the chart in Excel and paste it into PowerPoint; it arrives as an editable chart or as a picture, depending on the paste option you choose.