🌍 Public
Viewing a saved revision (read-only)
a6046aab1cbe451993bd9f43c051c3bd
Customizin Axes -vertical bar chart
This bar chart displays the population of the top 10 most populous countries, with data from the 2017 United Nations World Population Prospects (2018 estimates). The chart uses a vertical bar layout on a linear scale for population, with country names on the categorical axis. Built with D3 v5, the code uses `d3.scaleLinear`, `d3.scaleBand`, `d3.axisBottom`, and `d3.axisLeft` to construct the visualization. SVG rendering includes custom axes with tick formatting (e.g., "1.4B") and a styled title.
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.