Skip to main content
100%

D3 v5 Zoomable Sunburst - PD

✓ Published2🌍 Public
Llucaele
Last edited Sep 24, 2019
Created on Sep 24, 2019

This zoomable sunburst diagram displays the hierarchical structure of the Flare data set, with each ring segment representing a category and its size proportional to a numeric value. Users can click on any segment to re-center the visualization on that node, with smooth animated transitions between views. The example is built with D3 v5, using the `d3.arc`, `d3.partition`, `d3.hierarchy`, and `d3.transition` APIs, and renders as an SVG with labels rotated and positioned via `d3.interpolate`. The data is loaded from the Observable Flare JSON dataset.

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