Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

world countries tree

Public visualization

world countries tree

0 stars1🌍 Public
JJason-Manbodh
Last edited May 31, 2020
Created on May 31, 2020
Forked from blank canvas

This example shows a hierarchical tree of world countries, organized by continent and subregion, with each country name displayed as a text label. The visualization renders an SVG using D3.js v5, leveraging the `tree` and `hierarchy` layouts to compute node positions and `linkHorizontal` to draw curved paths between parent and child nodes. Data is loaded from a local JSON file, and text labels are offset with a dy attribute for readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed