Skip to main content
100%

Fork of Choropleth Map

✓ Published0🌍 Public
WWannachai-yin
Last edited Jul 29, 2021
Created on Jul 29, 2021
Forked from Choropleth Map

This choropleth map colors world countries by economic classification using a spectral color scale, with hover effects and a legend showing the ordinal categories. The map supports zooming and panning via the `d3.zoom` API, while the sphere and country paths are rendered with `d3.geoPath` and the Natural Earth projection. Data is loaded from the `world-atlas` TopoJSON and TSV files, processed with the `topojson` feature function and `d3.tsv`, and assigned colors through `d3.scaleOrdinal` with `d3.schemeSpectral`.

AI-generated description
MIT Licensed

Similar vizzes