Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

life-expectancy-map

Public visualization

Viewing a saved revision (read-only)

4a93084ef4a04ab7b0b74b2b7de053a8

life-expectancy-map

0 stars3🌍 Public
Aabhyudaithakur7@gmail.com
Last edited Oct 3, 2025
Created on Oct 3, 2025

This interactive choropleth map displays global life expectancy by country, with a selectable year slider that updates the color-coded visualization. Built with React and D3 v7, it loads UN WPP data from a CSV file and combines it with world GeoJSON topology using continent geometry from world-atlas. The map uses d3.geoPath, d3.scaleSequential, and d3.interpolateYlGnBu to render country polygons, while d3.pointer and mouse events drive tooltip interactions showing country names and values.

AI-generated description