Skip to main content
100%

Fork of another Tree

✓ Published0🌍 Public
SSonuSriN
Last edited Mar 31, 2022
Created on Mar 31, 2022
Forked from another Tree

This example shows a family tree visualization representing blood group inheritance, with names organized hierarchically by blood type. The tree layout is computed using `d3.tree` and `d3.hierarchy`, and rendered as an SVG with `d3.linkHorizontal` paths connecting parent and child nodes. Text labels for each descendant are positioned dynamically based on node coordinates, and `d3.zoom` enables panning and zooming of the entire diagram. The styling uses the Playfair Display font and a custom text shadow for readability. Data comes from the `family.json` file.

AI-generated description
MIT Licensed

Similar vizzes