Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Starter - Creating scatterplot

Public visualization

Viewing a saved revision (read-only)

379fa5814ca74e7ca7c537a46eb49d2b

D3 Starter - Creating scatterplot

0 stars1🌍 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