Skip to main content
100%

ICE 8 - Tree idiom

✓ Published0🌍 Public
KKetha
Last edited Apr 12, 2023
Created on Apr 11, 2023
Forked from MY Tree ICE-8

This interactive tree diagram displays a hierarchical structure of Indian states and their cities, using a collapsible D3.js layout. The visualization shows parent-child relationships through a classic node-and-link design, with nodes styled as circular markers and connected by curved paths. Users can click any node to expand or collapse its children, revealing the geographical breakdown. The chart is built with D3.js version 3.5, using `d3.layout.tree` for positioning, `d3.svg.diagonal` for link paths, and animated transitions via `transition().duration()` to smoothly reposition nodes. The SVG rendering scheme positions vertical depth levels at fixed 180-pixel intervals, with static data embedded directly in the source code.

AI-generated description

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

MIT Licensed

Similar vizzes