Skip to main content
100%

Hello VizHub

✓ Published0🌍 Public
MMatt Morris
Last edited Feb 6, 2019
Created on Feb 6, 2019
Forked from Hello VizHub

An interactive collapsible tree visualization displays the Flare dataset hierarchy, with nodes and links rendered as SVG elements. The graph supports dynamic restructuring through user interactions: shift-clicking appends new child nodes, while alt-clicking triggers name editing. The layout recalculates node positions with smooth transitions using D3 v5's hierarchy layout and transition APIs, including `root.descendants()`, `root.links()`, and `linkHorizontal()`. Node colors shift based on collapsed states, and the `update` function handles enter, update, and exit selections for both nodes and paths.

AI-generated description
MIT Licensed

Similar vizzes