Making a Choropleth Map
✓ Published0🌍 Public
This choropleth map visualizes global HIV prevalence rates among adults aged 15-49 for the year 2017, using a yellow-to-red sequential color scale to encode the percentage of the population infected. The map renders country polygons via `d3.geoPath` with a `geoNaturalEarth1` projection, overlaid with graticules and interior boundaries. Missing data appears in gray. The visualization uses React for component structure, `useWorldAtlas`, `useData`, and `useCodes` hooks to load TopoJSON and CSV datasets, and `d3.scaleSequential` with `interpolateYlOrRd` to map values to colors.
AI-generated descriptionMaking a Choropleth Map
MIT Licensed