🌍 Public
Viewing a saved revision (read-only)
28503ec399494c8bb42e147e865e2a1c
Fork of React & D3 Starter
This example displays a world map colored by sample population scores from a CSV file. The visualization uses an equirectangular projection via `d3.geoNaturalEarth1()` and renders country polygons with `d3.geoPath()`. Country colors are assigned using `d3.scaleThreshold()` with five color bins. A tooltip shows country names and values on hover, and a legend explains the color scale. The map uses TopoJSON data from the world-atlas package and processes features with the topojson-client library.
AI-generated description