Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Choropleth World population map

Public visualization

Choropleth World population map

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed