Skip to main content
100%

Saahithi Family tree

✓ Published0🌍 Public
SSaahithi49
Last edited Jul 10, 2022
Created on Jul 9, 2022

This visualization displays a family tree with nine members across four generations, using colored nodes to distinguish generations and animated links to show parent-child relationships. The tree is built from flat data using `d3.stratify()` and `d3.tree()`, with SVG circles and text labels rendered via React. Paths animate from source to target positions using `transition().duration()`, while node colors are assigned through a custom `setGeneration()` function based on each node’s depth. The layout is computed with d3.v6’s tree utility, and all rendering occurs through SVG elements.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes