Skip to main content
100%

Life expectancy vs Happiness Score Scatter Plot

✓ Published2🌍 Public
NNTCHANG1289
Last edited Nov 8, 2018
Created on Sep 9, 2018
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between life expectancy and happiness score from the 2017 World Happiness Report, sourced from Kaggle. Each green circle represents a country, plotted by its health life expectancy contribution against its overall happiness score. The visualization uses D3 v5’s `scaleLinear`, `axisLeft`, and `axisBottom` to construct the coordinates and axes, rendering as an SVG. The code loads data via `csv` from a VizHub dataset, applies numeric parsing, and styles points with opacity and a sans-serif font.

AI-generated description

This scatter plot shows the relationship between Life Expectancy and Happiness Score in the 2017 World Happiness Report. The definition of Life Expectancy from Kaggle - World Happiness Report is "the extent to which Life expectancy contributed to the calculation of the Happiness Score".

This data is from Kaggle - World Happiness Report.

MIT Licensed

Similar vizzes