Skip to main content
Public

Share visualization

Loading preview…

Fork of D3 v5 Zoomable Sunburst

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of D3 v5 Zoomable Sunburst

0
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

Comments

Sign in to join the discussion.

MIT Licensed