Skip to main content
100%

Circles on a map

✓ Published0🌍 Public
VVaggelisKlt
Last edited Jul 29, 2020
Created on Jul 29, 2020
Forked from Circles on a map

This example displays total COVID-19 cases per country on a natural Earth projection map, using red circles scaled by case count and a legend for reference. It loads data from a GitHub CSV and world-atlas TopoJSON via `d3.csv` and `topojson.feature`, then projects centroids with `d3.geoCentroid` and `d3.geoNaturalEarth1`. The visualization is built with React and rendered as SVG, using `d3.scaleSqrt` for circle sizing, `d3.scaleOrdinal` with `schemeSpectral` for the color legend, and custom `sizeLegend`/`colorLegend` components.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes