π Public
Viewing a saved revision (read-only)
5bfaa6cf60a8466a866c9a02ce71c1f3
Fork of Tree Example
This example shows an interactive tree diagram with expandable and collapsible nodes. The visualization displays hierarchical data, including named nodes like "Swarna Kumari" and "Lakshmi," with clickable circles that toggle child visibility. Built with React and D3.js v3, it uses `d3.layout.tree` to compute positions and `d3.svg.diagonal` for curved links. SVG elements render nodes and text, while transitions animate node and link movement over 750 milliseconds when collapsing or expanding branches.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.