Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of D3 v5 Zoomable Sunburst

Public visualization

Viewing a saved revision (read-only)

3a2cacf78e35471dab3460c660430c9d

Fork of D3 v5 Zoomable Sunburst

0 stars0🌍 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