Fork of Tree Example
✓ Published0🌍 Public
This interactive tree diagram visualizes a hierarchical family tree using D3.js. Users can click on nodes to collapse or expand branches, with smooth animated transitions between states. The visualization uses D3’s tree layout and diagonal path generator to render SVG links, while node positions animate via `transition()` calls. Data is structured as a nested JSON array, and the code employs `d3.layout.tree`, `d3.svg.diagonal`, and event handlers for node toggling.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed