Fork of D3 v5 Zoomable Sunburst
This visualization shows the Flare software package’s class hierarchy as a zoomable sunburst. The circular radial layout displays hierarchical partitions, where each ring represents a depth level and each arc’s size corresponds to the node’s value. Clicking on any arc animates the view, re-centering and rescaling the chart around that node, while a circle at the center returns to the root. The code uses d3.hierarchy, d3.partition, d3.arc, and transition.attrTween on SVG paths, with data loaded via the @observablehq/flare module and color scales built with d3.scaleOrdinal and d3.interpolateRainbow.