ICE8 Family Tree
✓ Published0🌍 Public
This example renders a family tree using D3.js v5’s `d3.stratify()` and `d3.tree()` layout, displayed as SVG circles connected by cubic Bézier paths. Node colors indicate hierarchical depth—red for root, blue for depth 1, green for depth 2, and yellow for depth 3—with each node labeled by name. The input is a flat array of parent-child pairs, which the code transforms into a hierarchical structure before positioning and drawing the tree on an 900×900 SVG canvas.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed