Skip to main content
100%

Fork of World Countries Tree

✓ Published1🌍 Public
Ffoorcun
Last edited Apr 13, 2023
Created on Apr 13, 2023

This visualization displays a hierarchical tree of world countries, organized by continent and subregion. Using D3.js v5, the code loads the country dataset from `data.json` and applies a `tree` layout with `linkHorizontal` edges to create the branching structure. The resulting SVG rendering shows country names as text nodes, with color-coded paths connecting them. A `zoom` event handler allows interactive panning and scaling, while the `Playfair Display` font and text-shadow styling enhance readability. The visualization presents geographic relationships in an expandable, navigable format.

AI-generated description
MIT Licensed

Similar vizzes