Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Hierarchy

Public visualization

Viewing a saved revision (read-only)

5162392bf02e4279a02c15d1735497ba

World Countries Hierarchy

0 stars1🌍 Public
Yyejichun@naver.com
Last edited Jul 28, 2021
Created on Jul 28, 2021
Forked from Blank Canvas

This visualization displays the hierarchical relationships between world regions, subregions, and countries using a horizontal tree layout. The data is structured as a nested JSON hierarchy, with nodes representing continents, regions, and individual nations. The code uses D3 v7’s `tree()` layout and `linkHorizontal()` generator to position and draw the connecting paths, while node labels are rendered as SVG text elements with sizes scaled by node depth. A zoom behavior is applied to the SVG container for panning and scaling.

AI-generated description