Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars2🌍 Public
AAbdouEnsaj
Last edited Jul 27, 2022
Created on Jul 26, 2022

This interactive visualization displays a hierarchical tree of world countries, organized by continent and subregion, with labels sized by depth. The hierarchical data comes from a JSON file, and the layout is computed using D3’s `tree` and `hierarchy` functions. Links are drawn as horizontal curves via `linkHorizontal`, while text nodes are placed according to the tree’s coordinates. The SVG rendering uses D3 v5, with styles defined in CSS.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed