D3: GeoEarth
✓ Published0🌍 Public
Ssowmyanagula@my.unt.edu
Last edited Apr 1, 2022
Created on Apr 1, 2022
A choropleth world map visualizes 2019 death rates from brain and central nervous system cancer by country, using an orange-to-red sequential color scale. The map is rendered with `d3.geoPath` and `d3.geoNaturalEarth1` projection, with country boundaries from World Atlas TopoJSON. React manages state for data loading via `d3.csv` and a custom hook, while hover interactions append tooltip text. A legend built with SVG rectangles shows the color scale’s domain, and the code uses `d3.scaleSequential` with `interpolateYlOrRd` for color encoding.
AI-generated descriptionReact Starter code.
MIT Licensed