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
JJoachim Klug
Last edited Sep 25, 2020
Created on Sep 25, 2020
Forked from Blank Canvas

This visualization shows the hierarchical structure of world countries organized by continent and subregion using a horizontal tree layout. The code renders an SVG with d3.tree and d3.hierarchy to position nodes, while d3.linkHorizontal generates the curved connecting paths. Interactive zooming is enabled through d3.zoom, and text labels display country names with font sizes decreasing by depth level. The data comes from a nested JSON file containing geographic groupings, and nodes are labeled with d3 selections appending text elements styled with Playfair Display font.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed