Skip to main content
100%

D3 Starter - Creating scatterplot

✓ Published1🌍 Public
Mmaxthamt
Last edited Mar 21, 2021
Created on Mar 21, 2021

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 description

This 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

Similar vizzes