Skip to main content
100%

First Scatter Plot

✓ Published1🌍 Public
Bbukbukbukka
Last edited Dec 2, 2019
Created on Nov 30, 2019
Forked from Customizing Axes

This scatter plot displays population figures for ten countries, with each circle positioned by its country on the vertical axis and population on the horizontal axis. The example uses D3 v5’s `csv`, `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` APIs. It loads data from `data.csv`, multiplies population values by 1,000, and renders SVG circles with a fixed radius. The axes include formatted tick labels and the chart adds a title and axis label via SVG text elements.

AI-generated description
MIT Licensed

Similar vizzes