🌍 Public
D3 Starter - Creating scatterplot
This scatterplot displays the population of the top 10 most populous countries, using data from the 2019 United Nations World Population Prospects. Each circle’s horizontal position encodes population on a linear scale, while the vertical axis uses a point scale for countries. The visualization is rendered with D3 v5, using `scaleLinear`, `scalePoint`, `axisLeft`, and `axisBottom` to construct the SVG chart. Gridlines extend across the plot, and the x-axis formats tick labels in abbreviated units using `format('.3s')`.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2019 estimate in United Nations: World Population Prospects
MIT Licensed
Comments
Sign in to join the discussion.