Skip to main content
100%

Fork of Fork of World Countries Tree

✓ Published0🌍 Public
YYuji
Last edited Jul 22, 2021
Created on Jul 22, 2021

This visualization presents a hierarchical tree of world countries, organized by continent and subregion, using a horizontal dendrogram layout. The code employs `d3.tree()` and `d3.hierarchy()` to compute node positions from a JSON data file, with `d3.linkHorizontal()` generating smooth curved links between parent and child nodes. Interactive zooming is enabled through `d3.zoom()`, allowing users to explore the full dataset. Node labels are rendered as SVG text elements with font sizes that decrease per depth level, while paths are styled with a teal stroke and Playfair Display typography.

AI-generated description
MIT Licensed

Similar vizzes