Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

World Happiness Scatter Plot

Public visualization

Viewing a saved revision (read-only)

fc0619a1e974486aa892ff9c502cd49c

World Happiness Scatter Plot

0 stars0🌍 Public
Ssamozarif@gmail.com
Last edited Sep 18, 2024
Created on Sep 18, 2024

This scatter plot visualizes the relationship between GDP per capita and happiness scores using the World Happiness dataset. Each circle represents a country, positioned along the axes with a light gray background and semi-transparent points to reveal overlapping data. The visualization is built with D3.js, employing `scaleLinear` for both axes, `axisBottom` and `axisLeft` for tick marks, and custom `xAxisLabel` and `yAxisLabel` functions for clear labeling. Data points are rendered as circles with fixed radius and opacity, and the plot is designed to adapt to its container’s dimensions.

AI-generated description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data