Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Happiness Level Plot

Public visualization

Happiness Level Plot

0 stars1🌍 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.

Comments

Sign in to join the discussion.

MIT Licensed