Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars0🌍 Public
WWai Kit Tsang
Last edited Jul 8, 2020
Created on Jul 8, 2020

This visualization presents a hierarchical tree of world countries, organized by continent and region, with each node labeled by name. Built with D3 v5, it uses the `tree` layout and `linkHorizontal` generator to draw the branching structure, while `zoom` enables panning and scaling. The SVG renders text labels with font sizes decreasing by depth, and the data comes from a local JSON file. The layout positions nodes with `d.x` and `d.y` coordinates from the hierarchy layout.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed