Skip to main content
100%

Customizing Axes

✓ Published0🌍 Public
Ssafdarawan
Last edited May 31, 2020
Created on May 31, 2020
Forked from Wine Equality

This bar chart visualizes the population of the top 10 most populous countries using 2018 data from the United Nations World Population Prospects. It demonstrates customization of D3 axes, including a custom tick format that converts large numbers to billions, and removal of default axis lines and ticks. Built with d3.v5, the chart uses `scaleLinear` and `scaleBand` for scales, `axisBottom` and `axisLeft` for axes, and renders as SVG with styled text elements.

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