Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
Aaidatabaeva
Last edited Dec 31, 2022
Created on Dec 31, 2022
Forked from Customizing Axes

This bar chart displays the population of the top 10 most populous countries, based on 2018 United Nations estimates, with population values in thousands. It demonstrates custom axis styling and formatting using D3 v5, including tick labels with abbreviated numbers (e.g., "B" for billions), removed axis lines, and custom title and label text. The visualization uses d3.scaleLinear, d3.scaleBand, axisLeft, and axisBottom, while also enabling zoom functionality via d3.zoom on the SVG container.

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