Skip to main content
100%

Scatter plot

✓ Published1🌍 Public
Ttheaddies
Last edited Feb 21, 2022
Created on Feb 21, 2022
Forked from customizing axes

This scatter plot shows the population of the top 10 most populous countries, with each circle representing a country and positioned along the x-axis by its population. The chart is rendered as an SVG using D3 v7, with axes created through `axisBottom` and `axisLeft` functions. Data is loaded from a local CSV file using D3's `csv` function, then scaled with `scaleLinear` and `scalePoint`. The visualization includes grid lines from tick marks and a custom format function that converts numbers to readable units.

AI-generated description
MIT Licensed

Similar vizzes