Framer code component · Charts

Sunburst Chart for Framer

Freeno account needed to try
Sunburst Chart Framer component preview

What it does

A sunburst chart for budgets, traffic, time or any total that splits into levels. Type one line per item with its path, like "Marketing / Paid ads / Search: 42000", and it draws the rings, adds up every level and works out the shares.

Interaction

  • Hover or focus a segment: its path to the center lights up, the rest dims, and the center shows its name, value and share
  • Click a branch to zoom in with a smooth turn
  • Go back with the center, the path above the chart or Esc
  • Keyboard: Tab through the legend, Enter to open a branch

Customizable properties

  • Data: one line per item, slashes make the levels
  • Rings: 1 to 4 levels at once, deeper ones open on zoom
  • Hover Detail, Click to Zoom and Tooltip, each on or off
  • Start Zoomed and Spotlight to open or light one branch
  • Theme: Midnight, Paper or Snow
  • Palette: Aurora, Ember, Ocean, Mono or your own six colors
  • Shading, center size, gap, corners, start angle, chart size
  • Big number as value or percent, prefix, suffix, short numbers
  • Legend on the right, below or hidden, path and arc labels
  • Title, number and text fonts, labels, custom colors

Why this component

  • No math by hand. Parents add up their children.
  • One color per top branch, lighter shades below it.
  • Opens once when scrolled into view, then stays still.

Good to know

People on the page can explore the chart but cannot change the numbers. A number typed on a parent line is ignored when it has children.

Need help?

Email hello@brandingupstudio.com — we usually reply within 1 business day. Custom edits are available from $75/hr.