Scatter Plot
A scatter plot displays the populations of the top 10 most populous countries, using a linear x-axis for population values and a categorical y-axis for country names. Circles sized at a fixed radius of 18 represent each country, with the data sourced from the 2018 United Nations World Population Prospects. The visualization is built with d3.v5, using d3.scaleLinear, d3.scalePoint, d3.axisBottom, and d3.axisLeft to create the axes and gridlines, rendered as an SVG. Population numbers are formatted with d3.format and displayed as millions, while the chart includes a title and 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.