Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot with D3.js!

Public visualization

Scatter plot with D3.js!

0 stars1🌍 Public
Ssoniyaa-dv
Last edited Jul 25, 2020
Created on Jul 25, 2020

This scatter plot displays the happiness scores of ten countries, with each country positioned along the y-axis and its score plotted on the x-axis. The visualization is rendered as an SVG using D3.js v5, employing `scaleLinear` for the x-axis and `scalePoint` for the categorical y-axis. Data is loaded from a CSV file via `d3.csv`, and axes are generated with `axisBottom` and `axisLeft`. The chart includes labeled axes and a title, with gridlines created through tick sizes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed