Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Viewing a saved revision (read-only)

27ed8cccc8d54094b4a3f16ad5b591cc

Scatter Plot

0 stars1🌍 Public
Ssgzzhinde
Last edited Dec 30, 2020
Created on Dec 30, 2020
Forked from customizing Axes

This scatter plot displays the populations of the 10 most populous countries, using a linear x-scale for population values and a point y-scale for country names. The code builds the visualization with D3 v6, using `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to render the axes and SVG circles for each data point. Population data from the 2018 United Nations World Population Prospects is loaded via `csv`, then scaled to thousands. The plot includes axis labels and a title, with country names positioned along the y-axis.

AI-generated description

This bar chart shows population of the 10 most populous countries. The data comes from the year 2018 in United Nations World Population Prospects 2017