Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
UUpamanyu-ml
Last edited Feb 4, 2021
Created on Feb 4, 2021
Forked from Customizing Axes

This bar chart shows the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization customizes D3 axes by removing default domain lines and tick marks, and reformatting population labels using `d3.format` to abbreviate large numbers. It uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis, with annotations for the title and axis label placed via D3 selections. The bars are rendered as SVG rectangles, with data loaded from a CSV file.

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