Scatter Plot
This scatter plot displays the top 10 most populous countries, with population values scaled linearly on the x-axis and country names positioned on a band scale along the y-axis. Data is loaded from a CSV file using `d3.csv` and sourced from the United Nations World Population Prospects 2017. The code uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render SVG circles, with axes customized through tick formatting and removal of domain lines.
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.
See also the first bar chart visualization that this one builds on: Making a Bar Chart.