Skip to main content
100%

Making a Scatter Plot

✓ Published1🌍 Public
CChristine
Last edited Mar 28, 2020
Created on Mar 18, 2020

This example shows a scatter plot of the top ten most populous countries, with population on the x-axis and country names on the y-axis. It uses D3 v5’s `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` APIs to map the data from `data.csv` into SVG circles. The chart includes gridlines, axis labels, and a title, with population values formatted in billions using D3’s `format('.3s')`.

AI-generated description

Making a Scatter Plot

MIT Licensed

Similar vizzes