Skip to main content
100%

Scatter Plot

✓ Published1🌍 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

MIT Licensed

Similar vizzes