Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
XXenos Panagiotis
Last edited Jun 7, 2023
Created on May 21, 2020
Forked from Choropleth Map

This choropleth map uses a color scale to depict the economy classification of each country from the world-atlas dataset. The visualization includes a color legend built with custom SVG shapes, and it supports interactive pan and zoom through event handling. The implementation relies on D3’s geoPath and geoNaturalEarth1 projection for map geometry, and uses scaleOrdinal with schemeSpectral for categorical coloring. Country data is loaded from TopoJSON and TSV files, with paths rendered as SVG elements that display the country name and economy type on hover.

AI-generated description
MIT Licensed

Similar vizzes