Skip to main content
100%

Family Tree

✓ Published0🌍 Public
AAshrith Kudidhi
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from HTML Starter

This example shows a family tree visualization with nodes colored by generation and animated SVG paths connecting parents to children. The tree layout uses d3.stratify() and d3.tree() to compute node positions from the hierarchical data. Circles and text labels are rendered as SVG elements, with d3 transitions animating the connecting paths and node sizing. Generation colors are assigned via a custom switch function, and the SVG fills the browser viewport.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes