Happiness Level Plot
✓ Published1🌍 Public
This scatter plot displays each country’s life satisfaction ranking against the year, from 2004 to 2016, using data from the World Happiness Report 2017. It is built with D3 v5 and renders as an SVG, with a time-scaled x-axis and a linear y-axis. The code uses `scaleTime`, `scaleLinear`, `axisBottom`, and `axisLeft` to construct the axes, and appends semi-transparent orange circles to represent data points. The CSV dataset is loaded via D3’s `csv` method, and the plot includes axis labels and a title.
AI-generated descriptionThis scatter plot shows data about self-reported life satisfaction over the world from 2004 to 2016.
This data comes from the World Happiness Report 2017 in Our World in Data: Happiness and Life Satisfaction.
MIT Licensed