Fork of D3.js collapsible tree with boxes
✓ Published2🌍 Public
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 descriptionThis is a description using Markdown.
MIT Licensed