🌍 Public
Viewing a saved revision (read-only)
fb8923e9f3cd4371a401ac14f0171ae2
D3: GeoEarth
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.