Skip to main content
100%

Making a Sctter Plot

✓ Published1🌍 Public
Bbilal
Last edited Nov 20, 2022
Created on Nov 20, 2022
Forked from Making a Bar Chart

This scatter plot displays the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization uses D3 v5 with an SVG rendering, employing `d3.scaleLinear` for the x-axis and `d3.scalePoint` for the y-axis. Circles are positioned using those scales, while axes are customized with `d3.axisBottom` and `d3.axisLeft`, including grid lines and formatted population labels that convert billions to "B".

AI-generated description

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

MIT Licensed

Similar vizzes