Customizing Axes
✓ Published1🌍 Public
This bar chart displays the populations of the top 10 most populous countries, based on 2018 estimates from the World Population Prospects 2017. It uses D3 v5’s `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the chart in SVG. Axes are customized by removing default domain lines, adding tick marks that span the full chart height, and formatting population values with `format('.3s')` to show billions. The y-axis labels are sorted by population, with a title and axis label styled via CSS.
AI-generated descriptionTHis bar chart shows population of the top 10 most populous countries. The data comes from the year 2018 estimate in [World Population Prospects 2017]
MIT Licensed