Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Population Map 2022

Public visualization

Viewing a saved revision (read-only)

567a0ff83aff437da355cdee02c2e5c6

World Population Map 2022

0 stars0🌍 Public
AAllen Ho
Last edited Apr 2, 2024
Created on Apr 2, 2024
Forked from HTML Starter

This choropleth map visualizes total population by country for 2022, using a threshold color scale with seven blues to indicate population ranges. It renders world geography via `d3.geoPath` with a Mercator projection, and loads country boundary data from a GeoJSON file while fetching population statistics from a CSV. Hovering over a country triggers animated opacity changes and highlights the selected region with a black stroke, with tooltips showing the country name and its population value.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.