Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

node tree of countries

Public visualization

Viewing a saved revision (read-only)

51f196e875984c36b800bc439dddbc22

node tree of countries

0 stars3🌍 Public
JJoel Schwartz
Last edited Jun 9, 2020
Created on Jun 9, 2020

A node tree visualizes the hierarchical structure of countries, grouped by continent and subregion, with labels sized by depth. The data is loaded from `data.json` and processed with `d3.hierarchy` and `d3.tree`. Each link renders as a horizontal path via `d3.linkHorizontal`, while text labels use D3 selections. The SVG supports zooming through `d3.zoom`, and styling uses a Playfair Display font with white text shadows.

AI-generated description