Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Countries Tree

Public visualization

Fork of World Countries Tree

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed