Hierarchical Circles 2
✓ Published0🌍 Public
This visualization shows a hierarchical circle packing layout of software source code components, with nested circles representing the directory and file structure of the flare.csv dataset. The implementation uses D3 v5’s `d3.stratify` to build a hierarchy from the CSV’s dot-separated IDs, then `d3.pack` to compute the circle positions and sizes. Circles are filled with a `d3.scaleSequential` color scale based on depth. Hovering over any circle highlights all its ancestors via the `hovered` function, and leaf nodes display their names using `tspan` elements clipped to their circles.
AI-generated descriptionMike Bostock's Circle-Packing example
- with D3 v5 (based on the changes in v5)
MIT Licensed