Skip to main content
100%

Fork of D3 v5 Zoomable Sunburst

✓ Published0🌍 Public
BBruno Salazar
Last edited Sep 23, 2025
Created on Sep 23, 2025

This zoomable sunburst chart visualizes the hierarchical structure of the Flare data set, showing the relative sizes of data categories and subcategories through radial arcs. Built with D3 v5, the visualization uses the `d3.hierarchy` and `d3.partition` APIs to compute the sunburst layout, while the `d3.arc` generator draws the segments. The code loads data via `observablehq` and `require()`, and implements interactive zooming through click handlers that trigger a 750ms transition, using `transition.attrTween` to animate both the arc paths and labels as the view reorients around the selected node.

AI-generated description
MIT Licensed

Similar vizzes