Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Family Tree

Public visualization

Family Tree

1 star26🌍 Public
SSonuSriN
Last edited Apr 3, 2022
Created on Apr 1, 2022
Forked from Tree

A family tree visualization displays blood group types in a hierarchical layout, with circles representing each group and subgroup generation. Using D3.js v6, the code employs `d3.stratify()` to convert flat data into a hierarchy and `d3.tree()` to compute node positions. SVG elements render the circles, text labels, and animated paths that transition from collapsed to expanded states via `transition().duration()`. The root node appears dark red, with lighter shades for subsequent generations, all centered on the page.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed