To make a sunburst chart in Excel, organize your data in a hierarchical table with categories in the left columns and numerical values in the far-right column, then go to Insert > Insert Hierarchy Chart > Sunburst. This chart type is specifically designed to visualize hierarchical data, showing how a main category breaks down into sub-categories and further nested levels, with the size of each slice representing its numerical value relative to the whole.

What You'll Need

  • Microsoft Excel (Office 2016 or newer, or Microsoft 365)
  • A dataset structured hierarchically (e.g., Category > Sub-category > Item)
  • Quantitative values associated with the lowest level of your hierarchy

Step-by-Step

  1. Prepare Your Data Structure: The most critical step for a sunburst chart is the layout of your spreadsheet. You must arrange your data in a table where the columns move from the broadest category to the most specific. For example, if you are charting a company budget, Column A should be the Department (e.g., Marketing), Column B should be the Expense Type (e.g., Digital Ads), and Column C should be the specific Item (e.g., Google Ads). The final column (Column D) must contain the numerical values (e.g., $5,000).
  2. Clean the Data: Ensure there are no empty rows or columns within your data range. If a specific item does not have a sub-category, leave the cell blank, but do not skip the entire row. Ensure that the headers in the top row are clear and descriptive, as Excel uses these to label the chart levels.
  3. Select the Data Range: Click and drag your mouse to highlight all the cells containing your hierarchical labels and the numerical values. Include the header row in your selection so that Excel can automatically identify the category names.
  4. Insert the Chart: Navigate to the top ribbon and click on the Insert tab. Look for the Charts group. Click on the Insert Hierarchy Chart icon (which typically looks like a small set of nested squares or a tree structure). From the dropdown menu, select Sunburst.
  5. Verify the Layout: Excel will generate the chart immediately. The inner circle represents the top-level category, and each subsequent outer ring represents a deeper level of the hierarchy. The arc length of each slice is proportional to the value in your final data column.
  6. Customize the Chart Labels: To make the chart more readable, click on the chart to reveal the Chart Design and Format tabs in the ribbon. Click Add Chart Element > Data Labels to choose where the numbers or category names appear. If the text is too small to read, you can click on the labels and use the Home tab to increase the font size or change the color.
  7. Adjust the Color Scheme: To change the look of the rings, go to the Chart Design tab and select Change Colors. You can choose from monochromatic palettes or colorful sets that help distinguish between different primary categories.
  8. Fine-Tune the Legend: By default, Excel may add a legend. If your labels are already visible on the slices, the legend may be redundant. You can remove it by clicking the legend and pressing the Delete key, or by using the Add Chart Element menu to move it to the bottom or right side.

Common Mistakes

One of the most frequent errors is failing to order the columns correctly. If you place the numerical values in the middle of your category columns, Excel will not recognize the hierarchy and will either produce an error or a nonsensical chart. The numbers must always be in the rightmost column of the selection.

Another common mistake is using non-numeric data in the value column. If your final column contains text or numbers formatted as text (indicated by a small green triangle in the corner of the cell), the sunburst chart will not render. Ensure all values are set to the 'Number' or 'Currency' format.

Users often try to put too many levels of hierarchy into a single chart. While Excel supports multiple rings, having more than four or five levels often makes the outer slices so thin that the labels become invisible or overlap, rendering the visualization useless. If your data is too deep, consider splitting it into two separate sunburst charts.

Finally, avoid using blank rows between your data sets. Excel treats a completely blank row as the end of the data range. If you have gaps, the chart will only display the first block of data it encounters, leaving out the rest of your information.

Tips

To make your sunburst chart more professional, use a consistent naming convention. If you have "Marketing" in one row and "Marketing Dept" in another, Excel will treat these as two separate top-level categories, which will split your inner circle unnecessarily.

If you find the default colors too muted, you can manually change the color of a specific slice. Click the chart once to select the whole series, then click a specific slice a second time to isolate just that segment. Right-click and select Fill to choose a custom color. This is helpful for highlighting a specific area of concern or a high-performing category.

Combine your sunburst chart with a slicer if your data is formatted as an official Excel Table (Ctrl+T). While the sunburst chart itself isn't as dynamic as a PivotChart, keeping your source data in a table allows you to filter the underlying data, which will automatically update the chart's proportions.

Consider using a Treemap chart as an alternative if you have a very large number of small items. Sunburst charts are excellent for showing the relationship between levels, but Treemaps are often better for comparing the relative size of many individual items within a single category.

Troubleshooting

The chart is blank or shows an error: Check your value column. Ensure there are no "#VALUE!" or "#N/A" errors in your data range. Also, verify that you haven't accidentally selected an entirely empty column. If the error persists, try re-selecting the data and ensuring the numerical column is the furthest to the right.

Labels are missing or cut off: This usually happens when the slice is too narrow to fit the text. You can try expanding the overall size of the chart by dragging the corners of the chart area. If the labels are still missing, you can change the label options to "Category Name" only, or manually add a text box over the slice for critical information.

The rings are in the wrong order: Excel reads the hierarchy from left to right. If your sub-categories are appearing in the center and your main categories are on the outside, your columns are swapped. Rearrange your columns so the broadest category is in the first column (leftmost) and the most specific is in the last label column.

The chart isn't updating when I change data: Ensure that the data range used to create the chart still encompasses the new cells. If you added new rows at the bottom, you may need to click the chart, go to Chart Design > Select Data, and drag the range box to include the new rows.

Frequently Asked Questions

Can I use a Sunburst chart with a Pivot Table?

Directly creating a Sunburst chart from a Pivot Table is not natively supported in the same way a PivotChart is. You must copy the summarized data from the Pivot Table to a new range of cells as values, or use a formula to reference the Pivot Table cells, and then create the chart from that static range.

How many levels of hierarchy can a Sunburst chart handle?

Technically, Excel can handle many levels, but for practical visibility, 3 to 4 levels are ideal. Beyond that, the outer rings become too fragmented to be useful for a presentation.

Can I change the size of the inner circle?

No, the proportions of the rings are determined automatically by Excel based on the number of levels in your hierarchy. You cannot manually drag the inner circle to be larger or smaller.

What is the difference between a Sunburst and a Pie chart?

A Pie chart shows a single level of data (one set of categories). A Sunburst chart is essentially a multi-level pie chart that shows the relationship between a parent category and its children.

Can I add a total sum to the center of the chart?

Excel does not provide a built-in "center total" feature for Sunburst charts. To achieve this, you can insert a Text Box from the Insert tab and place it manually in the center of the chart, linking the text box to a cell containing your total sum.