Skip to main content
100%

Scatter plot with D3.js!

✓ Published1🌍 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
MIT Licensed

Similar vizzes