🌍 Public
Viewing a saved revision (read-only)
db6ec7ac0f5e47c19d0977f9ed8d4a05
Fork of Fork of Tree
A static hierarchical tree diagram is built from a hard-coded dataset of parent-child name pairs. Each node is rendered as a large grey circle with a red outline, labeled with the person's name. The example uses D3 version 6 to construct the tree layout via `d3.stratify` and `d3.tree`, then draws the connecting links as blue paths. The SVG markup is created directly, with animated transitions on the path and circle elements that adjust positions and sizes over a short duration.
AI-generated description