Skip to main content
100%

Scatter Plot, single js file

✓ Published1🌍 Public
JJacob Potvin
Last edited May 25, 2021
Created on May 25, 2021
Forked from Customizing Axes

This scatter plot visualizes the populations of the top 10 most populous countries, with each circle’s x-position corresponding to population (in thousands) and y-position to country name. It uses D3 v5’s `scaleLinear`, `scalePoint`, `axisLeft`, `axisBottom`, and `format` to create and label the axes, while a linear scale maps population values. Data comes from the 2018 United Nations World Population Prospects. The SVG rendering applies custom tick styling, removes axis domains, and adds a title and axis label.

AI-generated description

This bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017. It also demonstrates customization of D3 axes.

See also the first bar chart visualization that this one builds on: Making a Bar Chart.

MIT Licensed

Similar vizzes