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)

4fe704de3b2640c683bacef9c1c34e52

Fork of World Countries Tree

0 stars0🌍 Public
AAasish Virjala
Last edited Mar 26, 2021
Created on Mar 26, 2021

This D3.js visualization uses a phylogenetic tree layout to display the hierarchical structure of world countries, organized by continent and subregion. The tree is rendered as an SVG with horizontal links connecting parent nodes to their children, with country names displayed as text labels. The code imports specific D3 v5 APIs including `tree`, `hierarchy`, and `linkHorizontal` to compute the tree layout and generate the connecting paths. Users can pan and zoom the visualization using the `zoom` module, which applies SVG transforms to the entire tree.

AI-generated description