Scatter Plot
✓ Published1🌍 Public
A scatter plot displays the populations of the top 10 most populous countries from the 2018 United Nations World Population Prospects estimate. Each circle’s horizontal position corresponds to its population value, while its vertical position is determined by country name along a point scale. The visualization uses d3.scaleLinear and d3.scalePoint to map data, with d3.axisBottom and d3.axisLeft generating labeled axes. Circle elements are rendered in SVG, and the code applies a custom tick formatter using d3.format to abbreviate large numbers with a 'B' suffix.
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