Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Saahithi Family tree

Public visualization

Viewing a saved revision (read-only)

2bb1ed686fcf48dda9a3a9efba1d2db0

Saahithi Family tree

0 stars0🌍 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.