Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars0🌍 Public
Aalfredo-f
Last edited Oct 25, 2019
Created on Oct 25, 2019

This interactive tree diagram displays the hierarchical structure of world countries, organized by continent and subregion. The visualization uses a horizontal tree layout with curved links connecting parent nodes to their children, rendered as SVG paths. Built with D3 v5, the code employs the `tree` and `hierarchy` layouts, `linkHorizontal` for path generation, and implements zoom functionality through `d3.zoom`. Country and region labels are positioned along the branches with font sizes that decrease with depth, while the data comes from a static JSON file.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed