Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

Viewing a saved revision (read-only)

b551b9ad6e494abaa34fe5d82bfaca78

World Countries Tree

0 stars0🌍 Public
Bbeca8675
Last edited May 6, 2020
Created on May 6, 2020

This visualization displays the hierarchical structure of world countries, organized by continent and subregion. It uses a horizontal tree layout, with each country name rendered as a leaf node and connections drawn as curved links. The code employs D3 v5’s `tree()` layout, `hierarchy()`, and `linkHorizontal()` path generator to position nodes and draw edges in SVG. Data comes from a local `data.json` file containing the nested geographic grouping.

AI-generated description