Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A9 Life Expectancy of the World in 2015

Public visualization

Viewing a saved revision (read-only)

5c389b4b36164b179f5e23de96136c63

A9 Life Expectancy of the World in 2015

0 stars0🌍 Public
AAllen Jake Polintan
Last edited Apr 1, 2024
Created on Mar 31, 2024
Forked from HTML Starter

A choropleth map of the world displays national life expectancy in 2015, with a quantized color scale shading countries from pale lavender to deep purple based on their average lifespan. The visualization loads country boundaries from a GeoJSON file and life expectancy data from a CSV using D3 v7, projecting geographic coordinates with `d3.geoMercator` and rendering paths via `d3.geoPath`. A hover interaction changes the fill color of individual countries, while the underlying data originates from the World Health Organization via Kaggle.

AI-generated description

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

See also React Starter.