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
Xxiaoma1002
Last edited Mar 22, 2020
Created on Mar 22, 2020
Forked from Choropleth Map

This visualization presents the hierarchical structure of world countries, organized by continents and subregions as a horizontal tree layout. It displays all country names as text labels linked by curved paths, with font sizes decreasing at deeper levels. The implementation uses D3 v5’s `tree` layout and `linkHorizontal` generator to position nodes and draw connections, with `d3.zoom` enabling pan and zoom. Data comes from a local JSON file, rendered as SVG with custom styling.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed