Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Countries Tree

Public visualization

Viewing a saved revision (read-only)

24a31dc31d764320a489a51ae3c0a603

World Countries Tree

0 stars0🌍 Public
Qquratulain01
Last edited Jun 14, 2020
Created on Jun 14, 2020

This visualization uses a hierarchical tree layout to organize world countries by continent and subregion, with each country name rendered as a text label. The code builds the tree with `d3.hierarchy` and `d3.tree`, draws curved link paths using `d3.linkHorizontal`, and applies zoom via `d3.zoom`. Labels scale in font size based on depth. Data comes from the local `data.json` file, and the SVG output uses a custom Playfair Display font.

AI-generated description