Skip to main content
100%

Circle-Packing

✓ Published0🌍 Public
Mmbostock
Last edited Mar 7, 2019
Created on Mar 22, 2016

This example visualizes the hierarchical structure of the Flare dataset using circle packing. Each node is represented as a circle, with leaf nodes sized by their value and grouped by their parent categories. The visualization uses D3 v4’s `d3.stratify` to build a hierarchy from the CSV and `d3.pack` to compute the circular layout. SVG circles are colored with a sequential magma scale based on depth, and hovering highlights the ancestors of a node via a CSS class and the `d3.selectAll` method.

AI-generated description
gpl-3.0 Licensed

Similar vizzes