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
HHemanta Devkota
Last edited Jun 6, 2024
Created on Jun 6, 2024

This visualization shows a hierarchical tree of world countries organized by continent and subregion, using a collapsible layout where text labels are positioned along branching paths. The tree renders in SVG with zoom and pan capabilities enabled by the d3.zoom interaction. It uses d3.hierarchy to build the structure from a JSON data source, d3.tree to compute the layout, and d3.linkHorizontal to generate curved connector paths. Text size scales inversely with depth, and styling uses the Playfair Display font with a custom CSS shadow effect for readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed