Skip to main content
100%

Scatter plot

✓ Published0🌍 Public
Aalicjakot
Last edited Mar 25, 2020
Created on Mar 25, 2020
Forked from Customizing axes!

This scatter plot displays the population of eight countries in 2020, with countries on the y-axis and population values on the x-axis. The visualization uses D3 v5’s `scaleLinear` and `scalePoint` to map the data, along with `axisLeft` and `axisBottom` for the labeled axes. Population figures are read from a CSV file and multiplied by 1000 before rendering as circles in an SVG. Axis tick labels are formatted using D3’s `format` function, and gridlines are drawn via tick sizes.

AI-generated description
MIT Licensed

Similar vizzes