Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
Bblenderenderer
Last edited Jan 27, 2021
Created on Jan 27, 2021
Forked from Customizing Axes

This scatter plot displays the population of the top 10 most populous countries using 2020 estimates from the United Nations World Population Prospects. Each country is represented by a circle positioned along a linear x-axis for population and a point scale y-axis for country names. The code uses d3.csv, d3.scaleLinear, d3.scalePoint, d3.axisBottom, and d3.axisLeft to render SVG elements. Axes feature customized tick formatting with d3.format, converting numbers to billions, and grid lines extend across the chart.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2020 estimate in United Nations: World Population Prospects 2019. It also demonstrates customization of D3 axes.

MIT Licensed

Similar vizzes