Fork of Customizing Axes
This bar chart visualizes the population of the ten most populous countries, based on 2018 estimates from the United Nations World Population Prospects. It uses D3 version 5 to load data from a CSV file, apply linear and band scales, and render axes. The chart customizes axes by removing default domain lines and ticks, adding grid lines with negative tick sizes, and formatting population labels with a function that replaces 'G' with 'B'. A right margin and additional axis label text are also configured.
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.