Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars0🌍 Public
Wwobo-sujithd
Last edited Dec 3, 2019
Created on Dec 3, 2019

This interactive treemap displays the hierarchical organization of world countries, starting with continents at the root and branching down through regions to individual countries as leaves. Built with D3 v5, the visualization uses a horizontal tree layout with curved links connecting parent and child nodes. The code employs `tree()`, `linkHorizontal()`, and `zoom()` APIs from the D3 framework, rendering nodes as text labels positioned along the hierarchy while SVG paths draw the connecting branches. Data is loaded from a local JSON file containing the country categorization structure.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed