Skip to main content
100%

Countries Tree

✓ Published0🌍 Public
MMatthiasVanCampen
Last edited Feb 13, 2020
Created on Feb 13, 2020
Forked from Blank Canvas

This example visualizes a hierarchical dataset of countries organized by continent and subregion as a dendrogram. The tree layout positions all nodes in a horizontal cluster, with country names displayed at varying font sizes based on depth using the d3.cluster and d3.hierarchy APIs. Curved link paths are generated with d3.linkHorizontal, while d3.zoom enables panning and scaling of the SVG canvas. The data is loaded from a JSON file and rendered entirely in SVG with custom styling.

AI-generated description
MIT Licensed

Similar vizzes