Skip to main content
100%

Family Tree

✓ Published0🌍 Public
DDINESH SAI BOPPANA
Last edited Jul 9, 2022
Created on Jul 9, 2022
Forked from D3 Starter

A family tree visualization renders hierarchical relationships as an SVG diagram. Colored circles mark each person, with blue, yellow, and orange indicating their depth in the tree, while curved paths connect parents to children. The example uses D3 v5, but notably relies on the missing `d3.stratify` and `d3.tree` APIs, which are not part of the standard D3 library. The code manually positions nodes and links using the x and y coordinates from those undefined functions, with hard-coded data listing individuals and their parents.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes