Life expectancy vs Happiness Score 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 descriptionThis 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.