Skip to main content
100%

Choropleth map

✓ Published0🌍 Public
VVaggelisKlt
Last edited Aug 31, 2020
Created on Aug 31, 2020
Forked from Choropleth map

A choropleth map of COVID-19 cases by country, with each nation colored on a spectral scale via `d3.scaleOrdinal` and `d3.schemeSpectral`. Hovering highlights a country in red, and a click-drag zoom uses `d3.zoom` with a Natural Earth projection (`d3.geoNaturalEarth1`) and `d3.geoPath`. Data loads from a CSV and TopoJSON using `d3.csv`, `d3.json`, and `topojson.feature`; a custom color legend renders SVG circles and text.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes