Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

3 World Countries Tree

Public visualization

3 World Countries Tree

0 stars0🌍 Public
RRolftest
Last edited Oct 23, 2021
Created on Oct 23, 2021

This visualization displays a hierarchical tree of world countries, grouping them by continent and subregion. The data, sourced from a JSON file, is organized from a root "World" node down through regional categories. D3.js v5 is used to render the structure as horizontal links and text labels on an SVG canvas. The implementation employs D3's `tree` layout, `hierarchy`, `linkHorizontal`, and `zoom` APIs to create the expandable tree. The display features a custom Playfair Display font and applies a font-size based on the node's depth in the hierarchy.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed