Skip to content

Sunburst chart

Parts and their sub-parts, in rings.

Definition · Updated Nov 2, 2026

A sunburst chart shows a total in the centre, its parts in the first ring and each part's sub-parts in the ring outside it. Use it for spend by team and model, sales by category and product, or any two-level breakdown.

Pay once. Every update included.

Live preview

Token spend by team and modelToken spend of $48.2K this month by team: Research $20.2K, Support $15.9K, Search $9.1K, Agents $3.0K; the largest single model is Research's Atlas 3 at $13.8K.$48.2KTHIS MONTHResearch$20.2KSupport$15.9KSearch$9.1KAgents$3.0K
Token spend by team and model
TeamModelSpend
ResearchAtlas 3$13.8K
ResearchOrion XL$6.4K
SupportKite 2 Pro$9.6K
SupportPico 2$4.1K
SupportNova Mini$2.2K
SearchVega 1.5$5.8K
SearchLumen 4$3.3K
AgentsAtlas 3$2.1K
AgentsSable 7B$0.9K

Sample data: $48.2K spend this month by team, research $20.2K, agents $3.0K

Size
Data shape
A total, parts and sub-parts
Good for
Spend by team and model, two-level breakdowns
Avoid when
There is only one level
Sizes
XS, S, M and L, re-laid out from the data

Anatomy

Inspect it like the Figma file.

The same layers, names and tokens as the component. Select one to read its size, fill and style.

Layers

022 / Sunburst

chart/022-sunburst
plot · sunburst
Layer
team · support
Type
Ellipse
Size
140 × 140
Fill
data/cat-2
Group
Marks · 17

Layers

022 / Sunburst

chart/022-sunburst
plot · sunburst
Layer
team · support
Type
Ellipse
Size
96 × 96
Fill
data/cat-2
Group
Marks · 17

Sizes

Re-laid out, never scaled.

The same data at XS, S, M and L. Every size is redrawn from the data, so text and line weights never shrink.

M against S

Width360 px480 px

Plot328 px440 px

Labels1010

Marks1717

Height212 px246 px

Same tokens at every size: text styles, 1 px lines and mark radius stay put.

When to use

Two levels, one shape.

Three signs it fits, and three signs another type fits better.

Are there two levels?

One level of parts.

Yes: Keep the sunburst

Is the round shape wanted?

Two levels as rectangles.

Yes: Keep the sunburst

Are the parts few?

Many parts in groups.

Yes: Keep the sunburst

Code and Figma

One name in Figma and in code.

Every Figma property is a prop with the same name and values. One command installs it.

Figma

chart/022-sunburst

size
legend
Property = propValuesDefault
size"xs" · "s" · "m" · "l""xs"
legendfalsefalse
color"cat-1" · "cat-2" · "cat-3" · "cat-4""cat-1"
npx shadcn add @chartory/sunburst
sunburst.tsx
import { Sunburst } from "@/components/chartory/sunburst"import { spendByTeam } from "./spend-by-team"export function SpendByTeam() {  return (    <Sunburst      data={spendByTeam}      size="m"      legend={false}    />  )}

Hearth widget

Sunburst as a widget.

The chart in a Hearth card with a hero number and two blocks. One token set, light and dark.

Code
Get the code

EmberPreset

ChartoryDefault preset

Pick the blocks, the size and the preset for your own widget.

Read the Hearth widget docs

FAQ

Sunburst questions.

What people ask before they put a sunburst in a dashboard.

Something else?

hello@usechartory.com
  • The total for the period ($48.2K this month in the sample). The teams sit in the inner ring and their split in the outer ring.

Related types

The same question, a different shape of answer. Every type ships in Figma and in code.

Same family

Part of a whole

16 types in Chartory answer this question.