Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars0🌍 Public
GGino Dzin
Last edited Feb 15, 2020
Created on Feb 15, 2020
Forked from Blank Canvas

This visualization presents a hierarchical tree of world countries, organized by continent and subregion, with text labels sized inversely to their depth in the hierarchy. The D3.js code loads data from a JSON file, uses the `tree` layout and `linkHorizontal` path generator to position nodes and draw curved links, and renders the result as SVG. Pan and zoom interactions are enabled through D3’s `zoom` behavior, while the root view adapts to the browser window dimensions.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed