Skip to main content
100%

Fork of Family Tree ICE-8

✓ Published0🌍 Public
Ffouzanuddin
Last edited Apr 5, 2022
Created on Apr 5, 2022
Forked from Family Tree ICE-8

This example shows a family tree rendered as a hierarchical node-link diagram using D3.js v5 and SVG. The code uses `d3.hierarchy` and `d3.tree` to compute node positions from nested data, with `d3.select` creating SVG groups, circles, and text labels. Curved link paths are drawn with a cubic Bézier command, while each node’s circle radius encodes a numeric value, and stroke and fill colors come from the data’s `type` and `level` fields. The data is embedded directly in the script as a JavaScript object.

AI-generated description
MIT Licensed

Similar vizzes