Skip to main content
Public

Share visualization

Loading preview…

World Countries Tree

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 Tree

0
OOhayouKaminari
Last edited Mar 1, 2020
Created on Mar 1, 2020
Forked from BlankCanvas

This visualization presents a hierarchical tree of world countries, organized by continent and subregion. It shows the parent-child relationships from the "World" root down to individual nations, with text labels positioned along the branches. The data comes from a JSON file containing the geographic hierarchy. The implementation uses D3 v5 with a custom tree layout and horizontal link generator to position nodes and draw connecting paths. Interactive zooming is enabled through D3's zoom utility, which applies a transform to the SVG group element. Text styling uses the Playfair Display font with a white shadow to improve legibility over the connecting paths.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed