Skip to main content
100%

Fork of Tree Example

✓ Published0🌍 Public
TTejucmandava
Last edited Apr 10, 2023
Created on Apr 10, 2023
Forked from 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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes