Barkha ZS
This interactive zoomable sunburst diagram visualizes the hierarchical structure of the Flare data set. Users can click on any arc to zoom into that category and explore its subcategories, with the central circle returning to the root. Built with D3 v5, the visualization uses `d3.partition`, `d3.arc`, and `d3.hierarchy` to compute the layout, while animated transitions for arcs and labels are handled via `transition.attrTween` and `d3.interpolate`. The SVG renders with a rainbow color scale using `d3.scaleOrdinal` and displays text labels oriented along each arc.
AI-generated descriptionMike Bostock's D3 Zoomable Sunburst example
- with D3 v5 (based on the changes in v5)
<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