Choropleth Map
✓ Published0🌍 Public
This choropleth map colors countries by their economy category, using a spectral ordinal color scale and a legend rendered as circles and text. It displays world geography with a natural Earth projection and supports zooming via d3.zoom. The map is built with d3.geoPath and topojson, loading country boundaries from the world-atlas dataset and merging in economic classification data from a CSV file. Hovering highlights individual countries, while the legend updates dynamically based on the data’s domain.
AI-generated descriptionMIT Licensed