Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

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

Comments

Sign in to join the discussion.

MIT Licensed