Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Countries tree

Public visualization

Viewing a saved revision (read-only)

2a06447d3aef401ea8a9dc2335920f18

Countries tree

0 stars0🌍 Public
Ssrikkanth05
Last edited Jul 16, 2023
Created on Jul 16, 2023
Forked from Hello VizHub

This interactive tree diagram visualizes the hierarchical relationship between continents, countries, and major cities, using color-coded nodes for each type (e.g., purple for root, green for continents). Rendered as an animated SVG, users can click nodes to expand or collapse branches. The implementation leverages the D3.js `d3.layout.tree` API to compute the layout, with custom CSS classes for node styling and tooltips. The data structure is loaded from an external `Tree.json` file, and the interaction supports zooming and dragging through D3's `d3.behavior.zoom`.

AI-generated description

Animals and categories