Skip to main content
100%

Scatter Plot

✓ Published0🌍 Public
ZZhi Guangda
Last edited Jul 15, 2019
Created on Jul 14, 2019
Forked from Scatter Plot

This scatter plot displays the top 10 most populous countries, with population values scaled linearly on the x-axis and country names positioned on a band scale along the y-axis. Data is loaded from a CSV file using `d3.csv` and sourced from the United Nations World Population Prospects 2017. The code uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to render SVG circles, with axes customized through tick formatting and removal of domain lines.

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