Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars1🌍 Public
KKanakDhawan
Last edited Dec 4, 2019
Created on Dec 4, 2019

This interactive visualization presents the hierarchical structure of world countries, organized by continent and subregion. Using a tidy tree layout, the SVG renders country names as text nodes connected by green paths, with the root labeled “World.” The visualization employs D3.js v5 with the `tree()`, `hierarchy()`, and `linkHorizontal()` APIs to compute and draw the layout. Users can zoom and pan the entire view via the `zoom()` interaction, while the font size scales with tree depth. The data comes from a structured JSON file representing geographic groupings.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed