Skip to main content
100%

World Countries Tree

✓ Published1🌍 Public
Nnj889
Last edited Sep 4, 2023
Created on Sep 4, 2023
Forked from Blank Canvas

This visualization displays the hierarchical structure of world countries organized by continent and subregion, rendered as a horizontal tree layout. The code uses D3’s `tree()` layout with `linkHorizontal` for curved links, and applies `zoom()` for panning and scaling. Text labels scale in font size based on depth, with the root at the top. The data comes from a static JSON file with nested nodes representing regions and countries.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes