Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

Viewing a saved revision (read-only)

2a8b6a463f0b461683028f029363e021

World Countries Tree

0 stars1🌍 Public
Nntds12
Last edited Mar 24, 2020
Created on Mar 24, 2020
Forked from Blank Canvas

This visualization presents the hierarchical structure of world countries, organized by continent (such as Asia) and subregion (like Southern Asia). The data is loaded from a JSON file and rendered as a horizontal tree layout using D3.js. The code specifically uses D3's `hierarchy`, `tree`, and `linkHorizontal` functions to compute the layout and generate SVG paths, which are appended to an SVG element. The tree is sized to the browser window, and country names are implied through the data structure, though labels are not rendered in this example.

AI-generated description