Fork of Customizing Axes
This bar chart displays the top 10 most populous countries using 2018 United Nations population estimates, showing population values on the x-axis and country names on the y-axis. The chart customizes the D3 v5 axis elements: the left axis lines and domain are removed, while the bottom axis uses tick lines extending inward and a custom tick format that converts billions to a concise scale. The visualization, rendered as SVG, uses `d3.scaleLinear`, `d3.scaleBand`, `d3.axisBottom`, and `d3.axisLeft` from the D3 library, 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.