Skip to main content
100%

World Countries Tree

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

Similar vizzes