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
Bbuzlev
Last edited Apr 30, 2022
Created on Apr 30, 2022

This interactive visualization presents a hierarchical tree of world countries, organized by continent and subregion. The layout displays each entity as a text label connected by curved paths, with font size decreasing based on depth in the hierarchy. The visualization uses D3.js v5 to load the JSON data, and applies the `tree` layout algorithm with a horizontal link generator. Users can pan and zoom the entire structure through the `zoom` event handler, which transforms the contained group element. The data comes from `data.json`, and the styling uses the Playfair Display font with white text shadows for readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed