Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars0🌍 Public
MMichał Szumnarski
Last edited Aug 17, 2019
Created on Aug 16, 2019

This visualization displays the hierarchical structure of world countries organized by continent and subregion, using a horizontal tree layout rendered as SVG. The code employs D3 v5's `tree()` and `hierarchy()` functions to compute node positions and draws curved links with `linkHorizontal()`. Static labels are placed at each node, and the data comes from a local `data.json` file containing the nested geographic classification.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed