Scatterplot
This scatterplot visualization displays the top 10 most populous countries, with each data point representing a country's total population. The chart uses a linear scale for the population values on the x-axis and a categorical point scale for the country names on the y-axis. Built with d3.v5, the code employs `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` from the d3 library to construct the chart. Population data comes from the United Nations World Population Prospects 2017, loaded via d3's `csv` function, and is rendered as SVG circles.
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.