D3 v5 Zoomable Sunburst 1216
This zoomable sunburst visualization displays the hierarchical structure of the Flare data, showing nested categories as concentric arcs whose angular width and radius encode the relative sizes of branches and leaf nodes. Clicking a segment zooms into that subtree, smoothly animating the layout as the clicked node becomes the new root. The D3 v5 code uses `d3.partition` and `d3.hierarchy` for layout, `d3.arc` for path geometry, and `d3.transition` with `attrTween` to interpolate arc positions and angles during zoom animations. A sequential rainbow color scale assigns hues to top-level branches.
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