Insert A Sunburst Chart Based On The Selected Cells

9 min read

What Is a Sunburst Chart and Why It Might Be Your Next Go‑To Visual

You’ve probably stared at a pie chart and felt it was missing something. Also, maybe the slices looked too similar, or you wanted to drill down into a sub‑category without opening a new chart. It’s a radial diagram that layers categories like an onion, letting you see hierarchies at a glance. Still, that’s where a sunburst chart steps in. When you know how to insert a sunburst chart based on the selected cells, you turn a bland spreadsheet into a story that jumps off the screen Simple as that..

Short version: it depends. Long version — keep reading.

I’ve used sunburst charts to compare department budgets, to map out website traffic sources, and even to visualize my own grocery spending. Each time, the visual cue made the numbers feel less like digits and more like a conversation. If you’re tired of flat tables and want a way to show relationships without drowning your audience in jargon, keep reading.

Why a Sunburst Chart Beats Other Radial Options

Pie charts are simple, sure, but they collapse when you have more than a handful of slices. A sunburst chart solves that by adding depth. The outer ring can hold sub‑categories, the inner ring can show totals, and the whole thing can be rotated for emphasis.

Think about a marketing dashboard. A sunburst lets you hover over a slice and instantly see those nested layers. You might want to see overall campaign spend, then break it down by channel, then by campaign type. It’s a visual shortcut that saves clicks and reduces cognitive load.

Preparing Your Data and Selecting Cells

Before you can insert a sunburst chart based on the selected cells, you need a clean data layout. The chart works best when your table follows a simple hierarchy:

  1. Top‑level category – the outermost ring
  2. Sub‑category – the middle ring
  3. Item or metric – the innermost ring

Here’s a quick example:

Department Budget Region Expense
Marketing 5000 West 1200
Marketing 5000 East 950
HR 3000 West 800
HR 3000 East 700

In this table, “Department” is the top‑level, “Region” is the middle, and “Expense” is the value you’ll visualize. The trick is to select the cells that contain the hierarchy you want to chart, not the whole sheet That alone is useful..

How to Highlight the Right Cells

  1. Click and drag over the range that includes the categories and the values you want to display.
  2. Make sure the selection includes the labels for each level and the numeric values.
  3. If you have multiple hierarchies side by side, you can select them all at once; the chart will treat each column as a separate series.

Step‑by‑Step: Insert a Sunburst Chart from Selected Cells

Choose the Right Data Layout

Not every spreadsheet program calls it a “sunburst.” Excel calls it a “Sunburst Chart,” while Google Sheets labels it “Sunburst Chart” under the Insert → Chart menu. The mechanics are similar enough that the steps below work for both Turns out it matters..

Highlight the Cells You Want to Visualize

Open your sheet, click the first cell of your hierarchy, hold Shift, and drag to the last cell. Double‑check that the selection includes:

  • The category names at each level
  • The numeric values that will drive the size of each slice

If you accidentally include extra rows, you can always shrink the selection later Surprisingly effective..

Insert the Chart

  1. With the cells still highlighted, go to the Insert tab (Excel) or Insert → Chart (Google Sheets).
  2. In the chart gallery, scroll until you find the Sunburst icon. It looks like a series of concentric circles with wedges.
  3. Click it. Instantly, a sunburst appears on your sheet, populated with the data you selected.

Tweak the Design

Now that the chart is in place, you can fine‑tune it:

  • Change colors – pick a palette that matches your brand or simply uses contrasting hues for clarity.
  • Add data labels – right‑click a slice and select “Add Data Labels” to show exact numbers.
  • Explode a slice – drag a wedge outwards to draw attention to a specific segment.

These adjustments are purely cosmetic, but they can make the difference between a chart that’s merely informative and one that’s memorable.

Common Mistakes People Make

Even seasoned spreadsheet users slip up when they first try to insert a sunburst chart based on the selected cells. Here are the top three pitfalls:

  1. Selecting the wrong range – If you include a total row or a header that isn’t part of the hierarchy, the chart will try to interpret it as a category, leading to odd shapes.
  2. Using non‑numeric values for size – Sunburst charts size slices by the numeric field you provide. If you accidentally feed a text string, the slice will disappear or appear as a thin sliver.
  3. Over‑nesting – Adding too many levels makes the innermost ring tiny and unreadable. Stick to two or three layers unless you have a compelling reason to go deeper.

A quick fix for the first mistake is to re‑select just the hierarchy columns before inserting the chart. For the second, double‑check that your value column is formatted as a number, not as text

Fixing the “Number‑as‑Text” Issue

When a slice vanishes or appears as a razor‑thin sliver, the most common culprit is a hidden text flag in the value column. To remedy this:

  1. Re‑convert the column – Highlight the entire numeric field, right‑click, choose Format Cells → Number, and select a standard format such as Number with zero decimal places.
  2. Remove stray apostrophes – If you copied data from a web page, Excel often prefixes numbers with an invisible apostrophe. Press Ctrl + H, find ' (the apostrophe), and replace it with nothing.
  3. Validate with a quick test – Insert a temporary SUM formula at the bottom of the column. If the sum returns 0, the column is still being read as text; repeat the conversion steps until the sum reflects the expected total.

Once the values are truly numeric, the sunburst will automatically recalibrate the radii of all wedges, restoring balance to the visualization No workaround needed..

Leveraging Named Ranges for Re‑usability

If you plan to reuse the same hierarchy across multiple reports, consider converting the selected block into a named range:

  • Go to Formulas → Name Manager → New, assign a descriptive name like Hierarchy_Sales, and set the “Refers to” field to the exact cell reference you used for the chart.
  • When you later insert a new sunburst, simply select that name from the Name Box instead of manually dragging cells. This not only speeds up the workflow but also guarantees that any future edits to the underlying data automatically propagate to all charts that reference the name.

Advanced Customization: Conditional Coloring

A static color palette works for straightforward presentations, but you can inject dynamism by linking slice colors to conditional rules:

  • Data Bars – Apply a Color Scale conditional formatting rule to the value column before chart creation. Excel will then map low values to cool blues and high values to warm reds, and the sunburst will inherit those hues.
  • Icon Sets – If you have categorical flags (e.g., “Target Met” vs. “Target Missed”), use an icon set to encode those states, then translate the icons into custom fill colors via VBA or Power Query. The resulting chart will instantly highlight performance outliers without needing separate legends.

These techniques require a modest amount of extra setup, but they turn a static diagram into an interactive dashboard element.

Exporting Sunburst Charts for External Use

When the final chart needs to appear in a slide deck, report, or web page, follow these steps to preserve quality:

  • Copy as Picture – Select the chart, press Ctrl + C, then Ctrl + Alt + V and choose Picture (Enhanced Metafile). Paste the image into PowerPoint or Word; the vector‑based format scales cleanly at any size.
  • Save as SVG – In Excel 365, right‑click the chart, pick Save as Picture, and choose Scalable Vector Graphics (*.svg). This format retains crisp lines and allows you to edit colors directly in a vector editor if further tweaks are required.
  • Embed in Power BI – If your organization uses Power BI for analytics, you can publish the Excel file to the service and recreate the sunburst there, leveraging Power BI’s tighter integration with dynamic data sources.

By exporting in a vector‑friendly format, you avoid pixelation and keep the visual hierarchy sharp across all presentation contexts.

Best Practices Checklist

Before you lock in a sunburst chart, run through this quick checklist to ensure the final artifact is both accurate and audience‑ready:

  • [ ] Hierarchy depth limited to 2‑3 levels – prevents unreadable inner rings.
  • [ ] Numeric values verified as true numbers – eliminates missing slices.
  • [ ] Color palette chosen for accessibility – consider color‑blind friendly palettes (e.g., ColorBrewer’s “Set2”).
  • [ ] Data labels turned on for critical slices – ensures key figures are immediately visible.
  • [ ] Legend or annotation added when multiple categories share the same hue – prevents ambiguity.
  • [ ] Exported in a scalable format – maintains visual fidelity across devices.

Checking each box will save you from common post‑creation revisions and make the chart ready for stakeholder review on the first pass.

Conclusion

Creating a sunburst chart directly from selected cells is a straightforward process, but its true power emerges when you pair the basic insertion steps with thoughtful data preparation

and strategic enhancements. Day to day, by structuring your data hierarchically, meticulously configuring the chart’s visual properties, and leveraging advanced techniques like dynamic interactivity or icon-based status indicators, you transform a simple doughnut visualization into a compelling analytical tool. Because of that, whether you’re tracking financial performance, organizational workflows, or customer demographics, the sunburst chart’s radial layout offers an intuitive way to explore nested relationships. Plus, remember to prioritize clarity—avoid overcrowding rings with too many categories, and always validate that your data aligns with the hierarchical structure. With practice, these charts become a cornerstone of your data storytelling arsenal, enabling stakeholders to grasp complex patterns at a glance while retaining the flexibility to drill into granular details. The key lies in balancing simplicity with depth, ensuring your sunburst chart communicates insights effectively without overwhelming its audience Took long enough..

Quick note before moving on.

New on the Blog

Just Shared

Along the Same Lines

More to Chew On

Thank you for reading about Insert A Sunburst Chart Based On The Selected Cells. We hope the information has been useful. Feel free to contact us if you have any questions. See you next time — don't forget to bookmark!
⌂ Back to Home