Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatter Plot

Public visualization

Scatter Plot

0 stars1🌍 Public
VVaggelisKlt
Last edited Sep 29, 2020
Created on May 18, 2020
Forked from Making a bar chart

This scatter plot displays the population of the ten most populous countries, using the 2018 estimate from World Population Prospects 2017. The visualization uses a linear scale for population on the x-axis and a point scale for country names on the y-axis, with circular marks rendered as SVG elements. Built with D3 v5, the code employs `scaleLinear`, `scalePoint`, `axisBottom`, and `axisLeft` to construct the chart, while data is loaded from a CSV file and formatted with D3’s `format` function to abbreviate large numbers.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed