Fork of Customizing Axes
This bar chart displays the populations of the top 10 most populous countries, using 2018 estimates from the United Nations World Population Prospects. The chart emphasizes customized axes: the y-axis labels have no ticks or domain line, while the x-axis uses a tick format that abbreviates numbers (e.g., "1.42B") and extends grid lines across the plot. Built with D3 v5, the code employs `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. Styling is applied via CSS classes, with data loaded from a CSV file.
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.