Family Tree ICE-8
✓ Published0🌍 Public
This example shows a family tree visualization using D3 v5, rendered as SVG in a React framework. The tree layout is created with `d3.stratify` and `d3.tree`, positioning nodes by depth and computing curved paths for parent-child links. Circle markers for each person are colored by hierarchical depth—red, blue, green, or yellow—and text labels display names beside the nodes. The data consists of a hardcoded array of child-parent relationships, and the visualization maps these into a clear, color-coded ancestry chart.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed