Skip to main content
100%

Happiness Choropleth Map

✓ Published0🌍 Public
Xxyang3672
Last edited Mar 13, 2021
Created on Mar 13, 2021

This choropleth map visualizes national happiness scores, with each country colored on a sequential blue scale from light to dark based on its reported score. The visualization uses a Mercator projection with graticules and country boundaries, rendering missing data in light gray. Built with React and D3 v5, the map employs `d3.geoMercator`, `d3.geoPath`, and `d3.geoGraticule` to draw the geographic features, while `d3.scaleSequential` with `d3.interpolatePuBu` maps scores to colors. Country codes are joined to happiness data from a CSV file, and geographic boundaries come from World Atlas TopoJSON.

AI-generated description

A world map showing cities with population greater than 50,000. City data from Simplemaps: World Cities Database.

Country boundaries from World Atlas TopoJSON, polished for visual style, including graticules.

MIT Licensed

Similar vizzes