Skip to main content
100%

Choropleth World population map

✓ Published0🌍 Public
DDIANJING FAN
Last edited Dec 13, 2022
Created on Dec 13, 2022
Forked from HTML Starter

A choropleth map displays world population by country, with each nation colored on a gradient from light to dark red based on its population size. The visualization uses the Robinson projection to render the world map, and employs a color scale defined by `d3.scaleThreshold` with a sequential color scheme. The map is drawn using `d3.geoPath`, with country boundaries loaded from a GeoJSON file and population data from a CSV. An interactive tooltip appears on mouseover, showing the country name and its population.

AI-generated description
MIT Licensed

Similar vizzes