ICE 8
✓ Published0🌍 Public
A collapsible tree diagram displays hierarchical data loaded from a remote JSON file, with nodes rendered as circles and labels connected by curved paths. Users can click any node to expand or collapse its subtree, triggering smooth 750ms transitions that reposition nodes and redraw links. The D3.js v6 code uses the `d3.tree` layout, `d3.hierarchy`, and custom diagonal path functions, with SVG elements animated via `transition()` and `attrTween`-style updates. Nodes initially collapse after the second level, showing partially expanded structure.
AI-generated descriptionMIT Licensed