Skip to main content
100%

Tree map

✓ Published0🌍 Public
SSamanvitha1
Last edited Jul 10, 2022
Created on Jul 10, 2022
Forked from Tree Example

A hierarchical tree map visualizes a family tree of names, rendered as collapsible nodes linked by curved paths. Clicking a node toggles its children, with animated transitions using d3.layout.tree, d3.svg.diagonal, and SVG circle and text elements. The data is a hardcoded JavaScript array of nested objects. Node positions shift horizontally by depth, and all updates animate over 750 milliseconds using D3’s transition methods, with styling for links and node circles defined in CSS.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes