π Public
Viewing a saved revision (read-only)
a5d6e1e9ebd54d9aaa26aafb9f7afc50
ICE-8 Tree
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 descriptionA demonstration of how to start using D3 version 6.