🌍 Public
Viewing a saved revision (read-only)
6b2706bc3bcd44ee9c4926d542c1b2e7
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