Skip to main content
100%

World Countries Tree

✓ Published1🌍 Public
Nnsadath
Last edited Dec 13, 2020
Created on Dec 13, 2020

This example visualizes the hierarchical structure of world countries, grouped by continent and subregion, as a tree diagram. The layout uses d3.tree and d3.hierarchy to compute node positions, while d3.linkHorizontal generates the curved paths connecting parent and child nodes. The data is loaded from a JSON file and rendered as SVG paths on the full viewport.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes