🌍 Public
Viewing a saved revision (read-only)
57a24e2b7a6342d69b71634f91f95856
world countries tree
This visualization displays a hierarchical tree of world countries, organized by continent and subregion. The data branches from the root node "World" down to individual nations, with each level representing a geographic grouping. The code uses D3 v5’s `tree` layout and `hierarchy` function to compute node positions, while `linkHorizontal` generates the curved connector paths. Country and region names are rendered as SVG text elements, with the tree laid out horizontally across the full viewport. The styling applies a cyan stroke to the links and a white text shadow for readability.
AI-generated description