Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot with D3.js!

Public visualization

Viewing a saved revision (read-only)

42d8f99759ba48ae84ebf158487b11f9

Scatter plot with D3.js!

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

This scatter plot displays the happiness scores of ten countries, showing each nation’s score along the horizontal axis with country names on the vertical axis. The visualization uses D3.js v5 with an SVG rendering approach, loading data from a CSV file. The code employs `d3.csv`, `scaleLinear`, and `scalePoint` to map scores and countries, while `axisBottom` and `axisLeft` generate the axes with tick lines. Circles are appended for each data point, styled with steelblue fill and opacity.

AI-generated description