π Public
Customizing Axes
This bar chart displays the populations of the ten most populous countries, based on 2018 estimates from the United Nations World Population Prospects. Using d3.scaleBand for the categorical y-axis and d3.scaleLinear for the numerical x-axis, it customizes both axes by removing domain lines and applying tick formatting with d3.format. The visual is rendered as SVG, with gridlines drawn from x-axis ticks and a clear title and axis label.
AI-generated descriptionThis bar chart shows the population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospects 2017.
MIT Licensed
Comments
Sign in to join the discussion.