Skip to main content
100%

Fork of D3.js collapsible tree with boxes

✓ Published2🌍 Public
JJunaid Ahmed Jameel
Last edited Jan 10, 2024
Created on Jan 10, 2024

A collapsible tree diagram displays hierarchical data as rounded rectangular nodes connected by curved links, with each node labeled by name and colored according to its type. Clicking a node collapses or expands its subtree with smooth 750-millisecond transitions. The visualization uses D3.js v7’s `d3.hierarchy` and `d3.tree` layouts to position nodes, then renders SVG elements with custom node dimensions and styling. Data is loaded from a JSON object containing node names, types, and link directions.

AI-generated description

This is a description using Markdown.

MIT Licensed

Similar vizzes