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 Tree Map visualization displays a hierarchical dataset of names using an expandable and collapsible tree diagram. The code uses D3.js version 3.5.17 with the `d3.layout.tree` for layout and `d3.svg.diagonal` for drawing curved links between nodes. Nodes are rendered as purple circles with labels, and clicking a node toggles its children to show or hide them. The visualization animates with 750ms transitions, updating node positions and link paths smoothly as the tree structure changes.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes