Scatter Plot
✓ Published1🌍 Public
This scatter plot shows the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The code uses D3 v5 with scaleLinear for the x-axis, scalePoint for the categorical y-axis, and axisBottom and axisLeft to draw the chart. Population values are multiplied by 1000 for display, with the x-axis formatted as billions using d3.format. The visualization renders circles in an SVG, with a title and axis label appended programmatically.
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