Skip to main content
100%

Exclusive data

✓ Published0🌍 Public
AAS251998
Last edited May 13, 2021
Created on May 13, 2021

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 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