Skip to main content
100%

Scatter Plot

✓ Published1🌍 Public
TTomoyukiEguchi
Last edited Jan 4, 2021
Created on Jan 4, 2021
Forked from Making a Bar Chart

This scatter plot shows the top 10 most populous countries in 2018 based on United Nations data, with population on the x-axis and country names on the y-axis. Each circle’s size is fixed, while its horizontal position encodes population via d3.scaleLinear and its vertical position uses d3.scalePoint. The code renders with D3 v5 and SVG, using d3.csv to load data, d3.axisBottom and d3.axisLeft for ticks, and d3.format to abbreviate large numbers.

AI-generated description

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

MIT Licensed

Similar vizzes