Skip to main content
100%

Fork of World Countries Tree

✓ Published1🌍 Public
Vvivianaaai@qq.com
Last edited Mar 16, 2023
Created on Mar 16, 2023

This visualization displays the hierarchical structure of world countries, organized by continent and sub-region, as a horizontal tree diagram. The SVG rendering uses the D3.js library’s `tree` layout, `hierarchy`, and `linkHorizontal` components to position nodes and draw connecting paths. Country names appear as text labels, with font size decreasing at deeper levels, and an interactive `zoom` feature allows users to pan and scale the view. Data is loaded from a local `data.json` file, and the styling is applied via CSS, including a Playfair Display serif font.

AI-generated description
MIT Licensed

Similar vizzes