Skip to main content
100%

World Countries Tree

✓ Published0🌍 Public
Iitsmajidnaeem@gmail.com
Last edited Nov 15, 2024
Created on Jul 9, 2024

This interactive visualization displays the hierarchical structure of world countries organized by continent and subregion using a tree layout. The D3.js v5 code loads geographic data from a JSON file and renders it as an SVG with horizontal links connecting parent and child nodes. Text labels show country names with font sizes that decrease at deeper hierarchy levels, while zoom functionality allows users to explore the full tree structure. The visualization uses the `tree` layout, `linkHorizontal` path generator, and D3's zoom behavior for panning and scaling.

AI-generated description
MIT Licensed

Similar vizzes