Fork of D3 v5 Zoomable Sunburst
This interactive sunburst diagram shows the hierarchical structure of the Flare dataset, with each arc segment representing a category and its size proportional to the data value. Clicking a segment zooms in to reveal that node’s children, while clicking the central circle returns to the previous level, using smooth transitions. The visualization is built with D3 v5, leveraging `d3.partition`, `d3.arc`, and `transition.attrTween` for animation. Data is loaded asynchronously via the Observable stdlib’s `require` and rendered as SVG with color encoding from `d3.scaleOrdinal` and `d3.interpolateRainbow`.
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