D3: GeoEarth
✓ Published0🌍 Public
This example displays a world map colored by deaths from brain and central nervous system cancer for the year 2019, using a yellow-orange-red sequential color scale. It leverages d3.geoPath with a d3.geoNaturalEarth1 projection to render country boundaries from the World Atlas TopoJSON. The choropleth maps data from a CSV joined to country codes via ISO-3166 codes, with colors scaled by d3.scaleSequential using d3.interpolateYlOrRd.
AI-generated descriptionReact Starter code.
MIT Licensed