Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Countries Tree

Public visualization

Countries Tree

0 stars0🌍 Public
Jjeelong
Last edited Jun 21, 2020
Created on Jun 21, 2020
Forked from Blank Canvas

This visualization displays a hierarchical tree of countries organized by continent and subregion, rendered as an SVG with horizontal links and text labels. The example uses D3 v5’s `tree` layout, `hierarchy`, `linkHorizontal`, and `zoom` APIs to generate and interactively pan and scale the structure. Data from `data.json` feeds the hierarchy, with font size varying by depth and leaf nodes left-aligned while parent nodes are centered.

AI-generated description

React Starter code.

Comments

Sign in to join the discussion.

MIT Licensed