Skip to main content
100%

Choropleth map

✓ Published2🌍 Public
SSagar Malviya
Last edited Jun 2, 2019
Created on Jun 2, 2019

This choropleth map colors world countries by economy type using a spectral color scale, with a hover effect highlighting individual countries and a legend showing the ordinal categories. It renders GeoJSON country outlines as SVG paths via d3.geoPath with a Natural Earth projection, and loads country boundaries from the world-atlas TopoJSON dataset. The map supports zoom and pan through d3.zoom, and the color legend is built with a custom reusable component in d3.

AI-generated description
MIT Licensed

Similar vizzes