Skip to main content
100%

Cars' Scatter Plot

✓ Published0🌍 Public
Uuskh580e
Last edited Jan 29, 2023
Created on Jan 29, 2023
Forked from Customizing Axes

This visualization displays the top 10 most populous countries using a bar chart, with population values from the 2018 United Nations World Population Prospects estimate. It is rendered as SVG elements via D3 v5, using `scaleLinear` for the x-axis and `scalePoint` for the categorical y-axis. The code customizes axes with `axisBottom` and `axisLeft`, applies tick formatting with `d3.format`, and includes grid lines and labels. Data is loaded asynchronously from a CSV file using `d3.csv`.

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