Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

Viewing a saved revision (read-only)

9287136f34394f36b17263a9f952bf82

World Countries Tree

0 stars0🌍 Public
SSuleyman Taspinar
Last edited Jun 22, 2020
Created on Jun 22, 2020

This visualization displays the hierarchical structure of world countries, organized by continent and subregion, as a horizontal tree diagram rendered in SVG. Using D3 v5's `tree()`, `hierarchy()`, and `linkHorizontal()` APIs, the code reads a JSON data file and positions nodes and connecting paths based on the computed layout. Country names are rendered as text labels with white text shadows, while the paths use a teal stroke. The visualization fills the entire browser viewport, with the page set to fixed positioning and overflow hidden.

AI-generated description