π Public
Customizing Axes
This bar chart shows the population of the top 10 most populous countries, based on 2018 estimates from the United Nations World Population Prospects. The visualization customizes both axes: the y-axis removes its domain line and tick marks, while the x-axis formats tick labels (converting G to B) and adds a labeled axis. Built with D3 v5, the code uses `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the SVG chart.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data commes from the year 2018 estimate in United Nations: World Population Prospects 2017.
MIT Licensed
Comments
Sign in to join the discussion.