Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

World Countries Tree

0 stars0🌍 Public
Ccarlos157oliveira
Last edited Aug 10, 2019
Created on Aug 10, 2019

This visualization presents a hierarchical tree of world countries, organized by continent and subregion. It uses a tidy tree layout to display the nested structure, with labels rendered in varying font sizes based on depth. The code builds the tree from a JSON data source using D3's `tree`, `hierarchy`, and `linkHorizontal` APIs, drawing connecting paths and text elements in an SVG. Pan and zoom functionality is added via D3's `zoom` and `event` utilities.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed