Fork of Customizing Axes
This bar chart displays the populations of the top 10 most populous countries, based on 2018 United Nations estimates, with values scaled from thousands to millions. It highlights customized axes using D3 v5 APIs such as `scaleLinear` and `scaleBand`, while `axisBottom` and `axisLeft` generate tick marks. The chart removes default axis lines, applies tick formatting via `format('.3s')`, and renders SVG rectangles with steel-blue fills and styled text elements.
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.