Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Ddagomezb
Last edited Aug 23, 2021
Created on Aug 23, 2021
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The chart employs D3's `scaleLinear` for the x-axis, `scaleBand` for the y-axis, and customizes the axes with `axisBottom` and `axisLeft`. Tick labels are formatted using `format`, converting values to billions with a custom replacement. Data is loaded from a CSV file, and the SVG rendering includes styled tick lines, axis labels, and a title.

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