Covid
✓ Published0🌍 Public
This example presents a world map visualization of COVID-19 case data, coloring each country based on its total reported cases. The map is rendered using React and D3, with a Natural Earth projection via `d3.geoPath` and `d3.geoNaturalEarth1`. Data is loaded from a remote CSV file using the Fetch API and parsed with `d3.csvParse`. A sequential color scale using `d3.scaleSequential` and `d3.interpolateReds` maps case counts to fill colors, while country boundaries are drawn as SVG paths with white strokes. The visualization dynamically updates when new data is fetched.
AI-generated descriptionA basic world map.
See also:
MIT Licensed