2. 0:00 choropleth map
✓ Published0🌍 Public
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 descriptionA 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