Scatter plot
This scatter plot visualizes the relationship between vehicle attributes, with population data from the United Nations World Population Prospects 2017 used for the top 10 most populous countries. It uses d3.v5 with SVG rendering, employing `scaleLinear` for the population axis, `scalePoint` for categorical country positioning, and `axisBottom` and `axisLeft` for labeled axes. The code applies a custom tick formatter to abbreviate large numbers, and demonstrates customization of D3 axes with tick lines and removal of domain paths.
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.