Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

arc tree countries tree

Public visualization

arc tree countries tree

0 stars0🌍 Public
YYanxxx447
Last edited Jan 12, 2021
Created on Jan 12, 2021

This visualization displays a hierarchical tree of world countries organized by continent and subregion, rendered as an arc-like horizontal dendrogram. The D3.js v5 code loads geographic data from a JSON file and uses `d3.tree()` and `d3.hierarchy()` to compute node positions, with `d3.linkHorizontal()` drawing the curved connecting paths. Text labels show each region and country name with font sizes scaling by depth, and the entire SVG view can be panned and zoomed using D3's zoom behavior.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed