Skip to main content
100%

Collapsible Tree

✓ Published0🌍 Public
Mmbostock
Last edited Feb 26, 2019
Created on Dec 19, 2012

This interactive collapsible tree visualizes the hierarchical structure of the Flare dataset, displaying nodes as circles connected by curved links. Users can click any node to expand or collapse its subtree, with smooth 750-millisecond transitions animating nodes and links between positions. The visualization uses D3 v3's `d3.layout.tree` to compute positions, `d3.svg.diagonal` for link paths, and SVG transitions to update the scene. Node colors change from white to lightsteelblue when children are hidden, and the root collapses all branches initially. Text labels position dynamically based on whether a node has visible or hidden children.

AI-generated description

An interactive version of a Reingold–Tilford tree. Click on the nodes to expand or collapse.

gpl-3.0 Licensed

Similar vizzes