Skip to main content
100%

The Simplest Family tree (Ancestry)

✓ Published0🌍 Public
AAniv Chakravarty
Last edited Apr 9, 2023
Created on Apr 6, 2023
Forked from HTML Starter

This interactive family tree demonstrates a hierarchical ancestry diagram built with React and D3.js. A root node labeled "Yu" branches into children and grandchildren, with each node rendered as a colored SVG circle and text label, connected by pink curved links. Clicking any node toggles its child branches, animating the tree’s layout transitions using D3’s `d3.layout.tree` and `d3.svg.diagonal`. Node fills and strokes are styled dynamically from data properties, and the 750-millisecond transitions rely on D3’s `transition.attr` methods.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes