Skip to main content
100%

Customizing Axes

✓ Published1🌍 Public
Aadvaitkulkarni08
Last edited Dec 29, 2019
Created on Dec 29, 2019
Forked from Making a Bar Chart

This bar chart displays the populations of the world’s ten most populous countries, based on 2018 estimates from the United Nations. The visualization demonstrates custom axis styling, including formatted tick labels, removed grid lines, and axis titles. Using d3.scaleLinear and d3.scaleBand, the chart maps population values and country names, while d3.axisLeft and d3.axisBottom render the axes with custom tick formatting that converts large numbers to abbreviated units.

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.

MIT Licensed

Similar vizzes