Skip to main content
100%

Fork of World Countries Tree

✓ Published0🌍 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
MIT Licensed

Similar vizzes