Skip to main content
Public

Share visualization

Loading preview…

World Countries Hierarchy

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

World Countries Hierarchy

0
Ggorfoula
Last edited Aug 5, 2020
Created on Jul 23, 2020

A hierarchical tree visualization displays the world's countries organized by continent and subregion. The visualization uses D3 v5's `tree` layout with `linkHorizontal` paths to connect parent and child nodes. Text labels for each country are positioned according to the layout's x and y coordinates, with font sizes scaling logarithmically based on depth. The SVG rendering supports zooming and panning through D3's zoom behavior, and the data originates from a JSON file containing the nested geographic hierarchy.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed