Skip to main content
100%

Fork of World Countries Tree

✓ Published0🌍 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
MIT Licensed

Similar vizzes