Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

Viewing a saved revision (read-only)

a935cca04cef4f03b315e051141df216

World Countries Tree

0 stars1🌍 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.