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

1
EErico Vasconcelos
Last edited Apr 3, 2021
Created on Apr 3, 2021
Forked from Blank Canvas

This visualization shows the hierarchical structure of world countries organized by continent and subregion, with each country as a leaf node in a tree layout. The example uses D3 v5 with the `cluster` layout and `hierarchy` function to process the nested JSON data, while `linkHorizontal` generates curved paths between parent and child nodes. The resulting SVG renders all connections as black lines on a white background, filling the entire browser viewport.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed