🌍 Public
Viewing a saved revision (read-only)
c4bb15ceb6804c2d8aed2b0a34ffe32b
Fork of Tree
A vertical family tree visualizes four generations of Game of Thrones houses, with color-coded nodes by depth and labeled leaf descendants. It uses the D3 v7 tree layout with `d3.hierarchy` and `d3.tree()` to compute positions, rendering SVG paths via `d3.linkVertical` for parent-child edges. Circular nodes and bold text labels are appended as SVG groups, with a `scaleOrdinal` mapping depth to thematic colors. The static example emphasizes clear hierarchical spacing through a fixed 1200px canvas width.
AI-generated description