Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Countries Tree

Public visualization

Viewing a saved revision (read-only)

fbd0bc0307bf4690800c06b29954963d

Fork of World Countries Tree

0 stars0🌍 Public
PPeter
Last edited Apr 29, 2024
Created on Apr 29, 2024

This interactive visualization displays the hierarchical structure of world countries, organized by continent and subregion, with country names rendered as text nodes connected by curved links. The tree layout, built with d3.tree and d3.hierarchy, positions nodes horizontally, while the zoom behavior, implemented via d3.zoom, allows panning and scaling of the SVG canvas. The data, loaded from a JSON file, uses a nested structure with continent, subregion, and country levels, with font size decreasing by depth to indicate hierarchy.

AI-generated description