Skip to main content
100%

Fork of React & D3 Starter

✓ Published0🌍 Public
Kkarthikpavan1198@gmail.com
Last edited Apr 12, 2026
Created on Apr 12, 2026
Forked from 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
MIT Licensed

Similar vizzes