Skip to main content
100%

world countries tree

✓ Published0🌍 Public
Kkarthiccr
Last edited May 31, 2020
Created on May 31, 2020

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
MIT Licensed

Similar vizzes