Skip to main content
100%

ICE8 - Family Tree

✓ Published0🌍 Public
PPrasanth Damarla
Last edited Apr 3, 2022
Created on Apr 3, 2022
Forked from ICE8 - Family Tree

This example renders a family tree as an interactive SVG diagram using D3.js v3. The visualization shows hierarchical relationships between family members, with each node represented by a colored circle and name label. Node size and color encode the member’s value and level, while link strokes inherit the parent’s level color. The code implements a D3 tree layout (`d3.tree()`), uses `d3.hierarchy` to structure the JSON data, and creates curved paths for parent-child links. Circle radius is set by the `value` property, and fill and stroke styles come from the `level` and `type` fields.

AI-generated description
MIT Licensed

Similar vizzes