Fork of Fork of Customizing Axes
This bar chart displays the top 10 most populous countries, using data from the 2018 United Nations World Population Prospects, with team win counts from a college basketball dataset as the quantitative axis. The visualization showcases custom D3 axis styling, including rotated tick labels and styled grid lines. Built with D3 v5, the code uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart, and applies custom fonts and colors via CSS. The SVG rendering includes a title and axis label, with bars filled in steelblue.
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.