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
Vvaynexie
Last edited Dec 29, 2019
Created on Dec 29, 2019

This visualization shows a hierarchical tree of world countries organized by continent and subregion, using a left-to-right layout with curved links. It renders country and region names as text nodes, with font size decreasing by depth. Built with D3 v5, it uses `d3.tree`, `d3.hierarchy`, and `d3.linkHorizontal` to compute the layout and paths, while `d3.zoom` enables panning and zooming. The data comes from a JSON file, and the SVG output is styled with a custom serif font and teal link strokes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed