scatter plot
This scatter plot displays the population of the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects, with circular markers positioned along a point scale for countries and a linear scale for population. The visualization uses d3.scaleLinear, d3.scalePoint, d3.axisLeft, and d3.axisBottom to construct the chart, with axis tick formatting converting large numbers to abbreviated forms. The code loads data via d3.csv, appends SVG circles with a fixed radius, and includes grid lines through tick sizing, a title, and an axis label.
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.