Family Tree
✓ Published0🌍 Public
This visualization displays a family tree using D3.js v5 within a React framework, rendering nodes and links as SVG elements. The tree structure is built from a flat data list via `d3.stratify()` and laid out with `d3.tree()`, with each family member represented as a colored circle and labeled with their name. Node colors vary by hierarchical depth, using a `marker()` function that assigns a distinct color to each level. Curved connecting paths are drawn using cubic Bezier commands in the `d` attribute, while `text` elements label each descendant.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed