Skip to main content
100%

Hierarchical Circles 2

✓ Published0🌍 Public
Aantoniojl-kemaro
Last edited Nov 24, 2022
Created on Nov 23, 2022

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 description

Mike Bostock's Circle-Packing example

MIT Licensed

Similar vizzes