Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of World Countries Tree

Public visualization

Viewing a saved revision (read-only)

848b7d15b8304ea4bbc8e26b707a236c

Fork of World Countries Tree

0 stars0🌍 Public
MMilanmangar
Last edited Apr 18, 2022
Created on Apr 12, 2022

This visualization shows a hierarchical tree of world countries, with nodes and text labels arranged horizontally. The text size varies with depth, creating a visual distinction between parent and child nodes. The visualization uses D3 v5’s `tree` layout, `hierarchy`, `stratify`, and `linkHorizontal` to compute and draw the graph structure, with SVG paths for links and text elements for labels. Pan and zoom interactions are enabled via `d3.zoom`. The data is loaded from a `data.json` file, though the currently active code references a `down_s` variable instead.

AI-generated description