Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars0🌍 Public
Pprincit
Last edited Mar 28, 2020
Created on Mar 27, 2020
Forked from Blank Canvas

This visualization shows the hierarchical structure of world countries organized by continent and subregion. It uses a horizontal tree layout with D3.js v5, rendering SVG elements for both links and text labels. The code applies D3's `tree()`, `hierarchy()`, `linkHorizontal()`, and `zoom()` APIs to construct the layout and enable interactive panning and zooming. The underlying data comes from a JSON file containing nested country and region names.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed