Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Countries Tree

Public visualization

Fork of World Countries Tree

0 stars0🌍 Public
MM
Last edited Mar 28, 2024
Created on Mar 28, 2024

This example visualizes the hierarchical structure of world countries organized by continent and subregion, with a tree layout that branches from a global root. Built with D3 v5, it reads hierarchical data from a CSV file and renders it as an SVG using `d3.hierarchy`, `d3.tree`, and `d3.linkHorizontal` for smooth curved links. Pan and zoom functionality is enabled via `d3.zoom`, while text labels display country and region names at varying font sizes based on depth. The visualization uses a clean, minimal aesthetic with green connecting paths and serif typography.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed