π Public
Viewing a saved revision (read-only)
1123e4e29e2d4bfca7bb201303763cdc
ICE8: Family Tree
A family tree visualization displays the lineage of the Pandava and Kaurava dynasties from the Indian epic Mahabharata. Users can click any node to collapse or expand its subtree, with animated transitions that smoothly reposition nodes and links. The code uses the D3.js library, specifically `d3.layout.tree`, `d3.svg.diagonal`, and SVG transitions. Node circles are colored based on `type` and `level` properties from the JSON data file, enabling visual distinction between generations.
AI-generated description