Customizing Axes
✓ Published2🌍 Public
This bar chart displays the top 10 most populous countries, based on 2018 estimates from World Population Prospects 2017. The visualization customizes axes by removing default domain lines and tick marks on the y-axis, while formatting the x-axis labels to abbreviate numbers (e.g., “1.42B”). Built with D3 v5, it uses `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft`, with data loaded via `csv`. Population values are multiplied by 1000, and the x-axis tick format converts “G” to “B” for billions.
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