Fork of React & D3 Starter
✓ Published0🌍 Public
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 descriptionMIT Licensed