Exclusive data
This example shows a zoomable sunburst visualization of the Flare software package’s module hierarchy, where each arc segment represents a class and its size corresponds to the class’s value. Clicking a segment animates the layout to focus on that subtree, with smooth transitions handled by `transition.attrTween` and interpolated arc geometry. The visualization uses D3 v5’s `d3.partition`, `d3.hierarchy`, and `d3.arc` with SVG rendering, and loads hierarchical data from the `@observablehq/flare` dataset via Observable’s stdlib `require` mechanism.
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