Skip to main content
100%

Fork of ICE 8 example for Tree graphic

✓ Published1🌍 Public
Vvidhyanamini
Last edited Apr 3, 2022
Created on Apr 3, 2022

This example renders a family tree as an animated SVG diagram using D3 v6. It shows hierarchical relationships between individuals, with salmon-colored circular nodes and blue connecting paths that grow from parent to child over one second. The code loads hardcoded data with child and parent fields, applies `d3.stratify` to build the hierarchy, and `d3.tree` to compute node positions. Circles and text labels fade in with staggered `transition()` durations based on tree depth, emphasizing the branching structure.

AI-generated description
MIT Licensed

Similar vizzes