🌍 Public
Scatter Plot
This scatter plot displays the 2018 population estimates for the top 10 most populous countries, using circles positioned along a horizontal population axis and a vertical country axis. The chart is rendered as an SVG using D3 v6, with a linear scale for population and a point scale for country categories. The code loads data from a CSV file, converts population strings to numbers, and uses `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to construct the visualization. Axis tick formatting converts large numbers into abbreviated units like "B" for billions.
AI-generated descriptionThis barchart shows the population of the top 10 most populous countries. The data comes from the year 2018 estimate in World Population Prospects 2017.
MIT Licensed








Comments
Sign in to join the discussion.