Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

Viewing a saved revision (read-only)

cd5b5bd8fff3467989fa81ae4207c387

World Countries Tree

0 stars0🌍 Public
Iisaachowen
Last edited Jul 16, 2019
Created on Jul 9, 2019

This visualization displays the hierarchical structure of world countries as a tree diagram, using a horizontal layout where each node represents a country, region, or subregion. The visualization uses D3.js v5 with the `d3.tree` layout and `d3.hierarchy` functions to compute node positions and link paths, rendered as SVG with `d3.linkHorizontal`. Font sizes scale inversely with node depth, and zooming is enabled via `d3.zoom` and event transforms. The data is loaded from a JSON file containing nested country groupings.

AI-generated description