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)

6027c449f1c9417b9bb18626928941d0

Fork of World Countries Tree

0 stars1🌍 Public
AAbdouEnsaj
Last edited Jul 27, 2022
Created on Jul 26, 2022

This visualization displays a hierarchical tree of world countries, organized by continent and subregion. The D3.js v5 code uses `d3.tree()` and `d3.hierarchy()` to lay out the data, with `d3.linkHorizontal()` generating the curved connecting paths. Node labels appear as text elements with sizes that decrease with depth, while a `d3.zoom()` handler enables pan and zoom interactions on the SVG. The visualization is based on a static JSON dataset containing the country groupings.

AI-generated description