Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 8 - Family Tree

Public visualization

Viewing a saved revision (read-only)

4b1c4c835e9f40a9a53d8fd45ff08e88

Fork of ICE 8 - Family Tree

0 stars0🌍 Public
DDing
Last edited Feb 27, 2023
Created on Feb 27, 2023

This visualization displays a family tree as a node-link diagram, with circles representing individuals and curved paths connecting parents to their children. The tree layout is generated from nested data using the custom `d3.stratify()` and `d3.tree()` extensions, which compute node positions based on parent-child relationships. Node colors encode generational depth, with red for ancestors, blue for the middle generation, and green for descendants, while text labels show each person’s name. The SVG rendering is implemented in React, drawing all elements within an SVG container using D3’s selection and enter/append methods to create circles, paths, and labels.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.