Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot

Public visualization

Viewing a saved revision (read-only)

7e57469202ad4565b13c4e5df0cc1c12

Scatter plot

0 stars1🌍 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