Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Countries Tree

Public visualization

Viewing a saved revision (read-only)

0d613c3689b44af983413ee09521f5e7

Fork of World Countries Tree

0 stars0🌍 Public
Hharitha13.yln1@gmail.com
Last edited May 13, 2024
Created on May 13, 2024

This example shows a static tree visualization of world countries, organized hierarchically by continent and subregion. The tree displays country names as text labels, with link paths connecting parent nodes to their children. The code constructs the tree layout using D3's `tree` and `hierarchy` functions, then renders horizontal links with `linkHorizontal` and text elements in SVG. Pan and zoom interactions are enabled through D3's `zoom` event handler, while the data is loaded from a local `data.json` file.

AI-generated description