Scatter Plot
This scatter plot displays the top 10 most populous countries in 2018, using data from the United Nations World Population Prospects. Population values are plotted on a linear scale along the x-axis, while country names are positioned on a point scale along the y-axis, with axis tick marks extending across the plot. The visualization is rendered as SVG using D3 v5, specifically leveraging `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft`. It also customizes tick formatting with `format` and includes styled gridlines and labels defined in CSS.
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.