ICE 8 Family Tree d3.js
✓ Published2🌍 Public
This example builds a family tree visualization using D3.js v5 and SVG. It maps a flat list of parent-child name pairs through `d3.stratify()` and `d3.tree()` into a hierarchical layout, drawing curved link paths between generations. Each person appears as a colored circle, with fill color determined by tree depth via a switch on `d.height`, and a text label beside each node. The tree spans 860 by 310 pixels, with light blue, salmon, and green shades distinguishing lineage levels.
AI-generated descriptionMaking a basic emoji using D3.js & SVG(Scalable Vector Graphics)
MIT Licensed