🌍 Public
Ordinal Scatter Plot
This ordinal scatter plot displays the populations of the top 10 most populous countries from the 2018 United Nations World Population Prospects estimate, with countries arranged on the y-axis and population values on the x-axis. Using D3 v5, the code employs `scalePoint` for the categorical country positions, `scaleLinear` for the numeric population scale, and SVG circles to mark each data point. The chart includes a formatted x-axis that abbreviates large numbers using the `format` function, and grid lines are drawn via axis tick sizes.
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.
MIT Licensed
Comments
Sign in to join the discussion.