Skip to main content
100%

ICE8_Family Tree

✓ Published0🌍 Public
RRahulSai05
Last edited Apr 5, 2022
Created on Apr 4, 2022
Forked from HTML Starter

This family tree uses D3.js v5 to visualize a hierarchical dataset as an SVG diagram. It renders circles for each person, colored cyan for root nodes, red for second-level nodes, and pink for leaves, with blue cubic Bézier curves linking parents to children. The layout is computed using the `d3.stratify()` and `d3.tree()` APIs, with node positions derived from the `tree` layout on an 850x300 canvas. Names are displayed as text labels offset from each circle. The data is a static array of parent-child relationships, manually encoded in the source.

AI-generated description
MIT Licensed

Similar vizzes