Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Tree Example

Public visualization

Fork of Tree Example

0 stars0🌍 Public
BBaylife5
Last edited Apr 11, 2023
Created on Apr 11, 2023
Forked from Tree Example

This interactive tree diagram displays hierarchical data with expandable and collapsible nodes. Clicking a node toggles its children, animating the layout transitions. The example is built with React and D3.js, using the `d3.layout.tree` API and `d3.svg.diagonal` projections to draw curved links. The SVG rendering includes a 750ms transition animation for nodes and links as the tree structure changes. Custom data defines family relationships, with nodes styled as white circles with steelblue strokes.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed