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)

795f87f5961340fc9b961805d00de614

Fork of World Countries Tree

0 stars0🌍 Public
GGleb Bayeshko
Last edited Dec 6, 2024
Created on Dec 6, 2024

This visualization shows the hierarchical structure of world countries, organized by continent and region, as a horizontal tree diagram. It uses D3 v5’s `tree` layout and `hierarchy` function to position the nodes, with `linkHorizontal` generating the curved connecting paths. The visualization supports zooming and panning via D3’s `zoom` behavior, while node labels are displayed with a font size that decreases with depth. The data comes from a local JSON file, and the SVG text elements include a white text-shadow for readability over the mint-green links.

AI-generated description