Skip to main content
100%

Fork of World Countries Tree

✓ Published0🌍 Public
AAnki1997chavan
Last edited Mar 18, 2023
Created on Mar 18, 2023

This tree visualization displays the hierarchical structure of world countries, with nodes labeled by country identifiers and connected by curved paths. The layout uses `d3.tree` and `d3.hierarchy` to compute positions, while `d3.linkHorizontal` generates the links. The SVG renders with a green stroke for paths and serif text, with font size decreasing by node depth. The visualization supports pan and zoom through `d3.zoom`, applied to a background rectangle. Data is loaded from a local `data.json` file, and the code uses D3 v5 via ES modules.

AI-generated description
MIT Licensed

Similar vizzes