Happiness Level Line Chart
This interactive line chart visualizes self-reported life satisfaction across the world from 2004 to 2017, using data from the World Happiness Report 2017. A dropdown menu lets viewers switch between different happiness-related metrics, such as GDP per capita, social support, and freedom, with each selection redrawing the SVG line chart. Built with D3.js v5, it uses `scaleTime`, `scaleLinear`, axes, and a `line` generator with `curveBasis` to render smoothed paths. The visualization encodes the selected metric over time, revealing trends and patterns in global well-being.
AI-generated descriptionChuchen Dai - forked from Cars Scatter Plot by Curran Kelleher.
This scatter plot shows data about self-reported life satisfaction over the world from 2004 to 2017.
This data comes from the World Happiness Report 2017 in Our World in Data: Happiness and Life Satisfaction.