Skip to main content
100%

Fork of Choropleth Map

✓ Published0🌍 Public
Kkzaiets
Last edited Sep 15, 2021
Created on Sep 15, 2021
Forked from Choropleth Map

This fork of a choropleth map colors world countries by their economy category, using a natural Earth projection and an ordinal spectral color scale. Hovering highlights a country in red, while a zoom interaction pans and scales the map view. It loads TopoJSON and TSV data from the world-atlas package, rendering with SVG via d3.geoPath. A custom color legend, built with d3.scaleOrdinal, displays the categorical color scale, and topojson.feature processes the geographic data.

AI-generated description
MIT Licensed

Similar vizzes