Skip to main content
100%

Happiness Level Plot

✓ Published1🌍 Public
CChooo4u
Last edited Nov 6, 2018
Created on Sep 16, 2018
Forked from Face in d3

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 description

This 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

Similar vizzes