Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of tree of kids

Public visualization

Viewing a saved revision (read-only)

c519628ac8544fc1b7ca20d7c543e354

Fork of tree of kids

0 stars0🌍 Public
CChindamrohan321@gmail.com
Last edited Nov 3, 2025
Created on Nov 2, 2025
Forked from tree of kids

This example visualizes a three-generation family tree from the television show *Modern Family*, using a hierarchical tree layout to show parent-child relationships from patriarch Jay Pritchett down to great-grandchildren. The code explicitly labels each node with the family member’s name and its layer number, while using a color scale based on depth to distinguish generations. Built with D3 v7, it applies the `d3.tree` layout and `d3.hierarchy` to structure the data, then renders SVG links via `d3.linkVertical` and nodes as circles with text labels. The data is a static JavaScript object embedded in the page.

AI-generated description