π Public
Viewing a saved revision (read-only)
500de029db1944e5b3df9199223c8fd5
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.