Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Countries Tree

Public visualization

Viewing a saved revision (read-only)

e44ae1cf5e954ae7af2385f6f88a11aa

Fork of World Countries Tree

0 stars0🌍 Public
OOla-ai694
Last edited Apr 29, 2021
Created on Apr 29, 2021

This visualization shows a hierarchical tree of world countries, organized by continent and subregion, with each node labeled by country name. The tree layout positions nodes vertically by depth, and horizontal links connect parent and child nodes. The visualization uses D3 v5’s `tree` layout, `hierarchy` function, and `linkHorizontal` generator to compute and draw the structure. Text labels scale in font size inversely with depth, and the entire tree can be panned and zoomed via D3’s `zoom` behavior. Data comes from a JSON file with nested country groupings.

AI-generated description