Skip to main content
100%

Fork of Customizing Axes

✓ Published0🌍 Public
AAbdullah Al Munem
Last edited Aug 8, 2023
Created on Aug 8, 2023
Forked from Customizing Axes

This bar chart visualizes the top 10 most populous countries using 2018 data from the United Nations World Population Prospects, with population values multiplied by 1000. The chart uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render an SVG with customized axes that omit unnecessary lines and apply a custom tick format converting G to B. The chart includes axis labels and a title, with styling applied via CSS for tick text, lines, and the 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