Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

Viewing a saved revision (read-only)

8f700c1954d24fa9a6da561b35ec7388

World Countries Tree

0 stars0🌍 Public
AAnke18
Last edited Jun 12, 2020
Created on Jun 11, 2020

This interactive visualization displays a hierarchical tree of world countries, organized by continent and subregion. Using the D3.js library (v5), it renders a static radial tree layout using SVG elements. The code appends circles for each node and links to connect parents to children, with node sizes derived from a custom radius attribute. A zooming feature is enabled via the `zoom` event, allowing users to pan and scale the entire viewport. The data is structured as a nested JSON object with "World" as the root, containing continents, subregions, and individual country names as leaf nodes.

AI-generated description