🌍 Public
Viewing a saved revision (read-only)
c42d22a361f74b6d9d50dc91a07ffdef
Fork of Collapsible Tree Version 1
This interactive collapsible tree visualization displays the hierarchical structure of either the "flare" dataset or a dispute flow, with nodes that expand and collapse on click. Built with D3 v6, the example renders as an SVG with animated transitions between layout states, using the `d3.tree()` layout and `d3.linkHorizontal()` for curved links. The tree loads JSON data via `d3.json()` and supports zooming through a custom `d3.zoom()` handler. Nodes are color-coded by whether they have children, and text labels use a stroke outline for readability.
AI-generated description