🌍 Public
Viewing a saved revision (read-only)
f7b20c8dd3bc4d31b4d2a373b1167990
Fork of Untitled
This visualization shows a hierarchical dataset of political and armed groups using a circle-packing layout. It displays how groups are nested within categories like "armed," "communist," and "islam," with each leaf labeled by its name. The code uses D3’s `pack` function to compute the circles, then renders them as an SVG with drop shadows, clip paths, and wrapped text. The color scale encodes the tree depth, and hover tooltips reveal the full path and value. The data originates from a `data.json` file, though the accompanying HTML also loads a Google Charts Sankey diagram from pre-processed rows.
AI-generated description