Skip to main content
100%

Fork of D3 v5 Zoomable Sunburst

✓ Published0🌍 Public
Jjimmyjs1607
Last edited Jun 9, 2021
Created on Jun 9, 2021

This zoomable sunburst visualizes the hierarchical flare dataset, showing nested categories as concentric arcs where clicking a segment zooms in to reveal its children. Built with D3 v5, it uses `d3.hierarchy` and `d3.partition` to compute the layout, `d3.arc` for rendering, and `d3.interpolateRainbow` for coloring. Interactive transitions are animated via `transition.attrTween`, with arc and label visibility filtered dynamically. The SVG rendering includes click-driven zoom and a central reset circle.

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