Skip to main content
100%

D3 v5 Zoomable Sunburst

✓ Published0🌍 Public
Ssrinvas35
Last edited Oct 23, 2019
Created on Oct 23, 2019

This zoomable sunburst visualization displays a hierarchical dataset of the Flare software project, with each arc segment representing a category or leaf node whose angular width encodes its relative value. Clicking a segment transitions the view to center on that branch while shrinking others, enabling navigation through multiple levels of the tree. The visualization is rendered as SVG using D3 v5’s `d3.partition` layout, `d3.arc` for path generation, and D3 transitions for smooth zooming animations. Data is provided as an inline JSON object.

AI-generated description

Mike Bostock's D3 Zoomable Sunburst example

<br></br> Ported from this Observable notebook for this forum thread. Many thanks to Bryan Gingechen who answered my question about the necessary steps to get from an (Observable) JavaScript notebook to a vanilla JavaScript index.html. He presented his solution on blockbuilder.org

MIT Licensed

Similar vizzes