Family Tree ICE-8
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed