Skip to main content
100%

ICE 8

✓ Published0🌍 Public
TTejasriKari@my.unt.edu
Last edited Apr 2, 2025
Created on Apr 2, 2025
Forked from Activity6_Q3

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 description
MIT Licensed

Similar vizzes