Fork of Customizing Axes
This bar chart displays the top 10 most populous countries using 2018 estimates from the United Nations World Population Prospects. It features customized axes with shortened population labels (e.g., "1.41B") and a clean, sparse design. The visualization uses D3 v5 with `scaleBand` and `scaleLinear`, plus `axisBottom` and `axisLeft` for ticking. The SVG render includes horizontal grid lines and a labeled x-axis, demonstrating explicit axis customization through tick formatting and removal of default decorations.
AI-generated descriptionThis 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.