Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter plot

Public visualization

Viewing a saved revision (read-only)

34fc4dfbc2464303a573198f224d9b66

Scatter plot

0 stars1🌍 Public
JJames
Last edited Aug 17, 2020
Created on Aug 17, 2020
Forked from Customize Axist

A scatter plot displays the populations of the ten most populous countries, with each country plotted along the vertical axis and its population on the horizontal axis. The chart uses d3.scaleLinear for the x-axis and d3.scalePoint for the y-axis, with d3.axisLeft and d3.axisBottom generating the axes. Population values are formatted using d3.format with a custom tick format that replaces "G" with "B" for billions. The data comes from a CSV file, loaded via d3.csv, and rendered as SVG circles with a steelblue fill.

AI-generated description