Skip to main content
100%

2. 0:00 choropleth map

✓ Published0🌍 Public
Uumgi
Last edited Mar 3, 2021
Created on Mar 3, 2021

This choropleth map visualizes the share of population infected with HIV across countries for the year 2017, using a yellow-orange-red sequential color scale (d3.scaleSequential with interpolateYlOrRd) to represent prevalence percentages. The map renders geographic country boundaries using d3.geoNaturalEarth1 projection and d3.geoPath, with graticules and interiors drawn as SVG paths. Countries without data appear gray. The React app loads CSV data on HIV prevalence and ISO country codes, joins them via d3.csv and Map lookups, and uses a topojson world atlas for the country shapes.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React state to keep track of the data.

MIT Licensed

Similar vizzes