1027Happiness Level Line Chart
This visualization displays self-reported life satisfaction across countries from 2004 to 2017, using a scatter plot where each circle represents a country-year observation. Users select a metric from a dropdown menu, and clicking a color legend entry highlights that country’s points while dimming others. The D3.js v5 code employs `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and transitions to animate marks, with `interpolateRdYlBu` for color encoding. Data originates from the World Happiness Report 2017, rendered as an SVG with interactive legend and dropdown functionality.
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.