Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE8: Family Tree

Public visualization

ICE8: Family Tree

0 stars0🌍 Public
SSharmaAshwini
Last edited Apr 8, 2023
Created on Apr 8, 2023

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

Comments

Sign in to join the discussion.

MIT Licensed