Skip to main content
100%

Choropleth Map

✓ Published0🌍 Public
Iinroadings
Last edited Mar 23, 2020
Created on Mar 23, 2020
Forked from Choropleth Map

This choropleth map visualizes COVID-19 confirmed cases across countries, with color encoding based on economic classification. Users can click entries in the color legend to highlight matching countries on the map, while unselected countries fade in opacity. The map uses d3.geoNaturalEarth1 projection with d3.geoPath for rendering country boundaries, and d3.zoom for pan and zoom interactions. Both the map and legend are built as reusable functions, with data loaded from CSV files containing country metadata and daily case counts.

AI-generated description

Topics Making the Color Legend Clickable Implementing Unidirectional Data Flow Highlingting the selected color value Componentizing the Choropleth Map Highlighting countries using the selected color value

MIT Licensed

Similar vizzes