🌍 Public
Viewing a saved revision (read-only)
a3b8bda96e1d412aa2558a731c981149
Family Tree
A family tree visualization displays hierarchical parent-child relationships across four generations, with nodes colored by depth and labeled with character names. Each connection animates from a horizontal line into a diagonal link as the tree expands. The implementation uses D3 v6’s `d3.stratify()` to build the hierarchy from flat data and `d3.tree()` to compute layout positions, while SVG circles, text, and paths are rendered with transitions on `attr` for smooth node growth and link drawing.
AI-generated description