🌍 Public
Viewing a saved revision (read-only)
6a6be60299c24b759b103d6ef5e2f64e
World Countries Tree
This visualization displays a hierarchical tree of world countries organized by continent and subregion, using data from a nested JSON file. Each country is shown as a text label, positioned according to its depth in the hierarchy, with connecting paths. The D3 v5 library powers the layout, using `d3.tree()`, `d3.hierarchy()`, and `d3.linkHorizontal()` to compute positions and draw the SVG paths. Text labels are rendered with varying font sizes based on depth, and the entire tree can be zoomed and panned via `d3.zoom()`.
AI-generated description