Skip to main content
100%

ICE8 - Family Tree

✓ Published0🌍 Public
Ggeethikal
Last edited Apr 12, 2023
Created on Apr 10, 2023
Forked from HTML Starter

A family tree visualization uses hierarchical node-link layout to display three generations of relatives, with each person rendered as a colored rectangle and connections shown as curved links with directional arrows. The D3 v3 tree layout arranges nodes vertically by depth, while a breadth-first traversal dynamically sizes the SVG canvas based on tree width and depth. Implemented in React with vanilla D3 selections, the visualization supports zoom and drag interactions via `d3.behavior.zoom`, and includes tooltips and collision detection for overlapping nodes. Data comes from a nested JSON file, with node colors assigned by generation type.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes