Skip to main content
100%

World Countries Tree

✓ Published1🌍 Public
Ccansukcr
Last edited Feb 21, 2020
Created on Feb 21, 2020

This visualization displays a hierarchical tree of world countries, organized by geographic regions, with each country rendered as a text label positioned along branching paths. The tree layout uses d3.tree and d3.hierarchy to compute node positions, while d3.linkHorizontal draws the connecting links as smooth curves. The view supports pan and zoom through d3.zoom, with font sizes scaling relative to node depth. Data comes from a local JSON file, and text elements are styled using the Playfair Display font with a white shadow for legibility. The SVG rendering approach keeps the visualization scalable and interactive.

AI-generated description
MIT Licensed

Similar vizzes