Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
RRubens
Last edited Sep 6, 2018
Created on Sep 6, 2018

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 description

This 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

Similar vizzes