Skip to main content
100%

Family Tree ICE-8

✓ Published0🌍 Public
SShridhar Kshirsagar
Last edited Apr 13, 2023
Created on Apr 13, 2023

This example presents a family tree using a hierarchical layout rendered as an SVG. It stratifies flat parent-child data with `d3.stratify` and computes node positions via `d3.tree`. Nodes are color-coded by generation depth (red, blue, green), while cubic Bezier paths connect parents to children. The code also labels each person with `text` elements, offset slightly from their corresponding circles. The visualization demonstrates a clean, minimal approach to displaying genealogical relationships with D3 v5 in a React environment.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes