Skip to main content
100%

ICE-8 Tree

✓ Published0🌍 Public
DDan Waters
Last edited Apr 5, 2022
Created on Apr 5, 2022

This interactive family tree visualizes a simple genealogical dataset with two named individuals. Built with D3 v7, it renders the hierarchy as an SVG with expandable and collapsible nodes, using animated transitions to reorganize the layout when branches are toggled. The code employs `d3.stratify()`, `d3.tree()`, and `d3.hierarchy()` to structure and position data, while `d3.select()` and `.transition()` handle the dynamic updates to nodes and links in response to clicks.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes