Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

Viewing a saved revision (read-only)

45294549612141cd844c556b0744dfe0

World Countries Tree

0 stars0🌍 Public
Aamtoth
Last edited Jun 10, 2021
Created on Jun 10, 2021
Forked from Blank Canvas

A hierarchical tree visualization shows the geographic organization of world countries, grouped first by continent and then by subregion. The data is structured as nested JSON, with the root labeled "World" branching into regions like Asia and Southern Asia before reaching individual country names. Using d3.v5, the code applies the `tree` layout and `hierarchy` function to compute node positions, then draws connecting links as horizontal SVG paths with `linkHorizontal`. The visualization fills the browser viewport, rendering the full country hierarchy without interaction or color encoding.

AI-generated description