Skip to main content
100%

Scatter plot

✓ Published1🌍 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
MIT Licensed

Similar vizzes