scatter plot of q vs q
This scatter plot displays the population of the top 10 most populous countries, with circles positioned along a linear x-axis for population and a point scale y-axis for country names. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to construct the chart. Data comes from the 2018 United Nations World Population Prospects, loaded via `d3.csv`, with population values multiplied by 1,000. The code customizes axes with tick formatting that abbreviates large numbers and removes domain lines for a cleaner presentation.
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.