Viewing a saved revision (read-only)
baf4b461330143cf8890d0839e5b6438
Making a Sctter Plot
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 descriptionThis 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.