Customizing Axes
✓ Published0🌍 Public
This bar chart displays the populations of the ten most populous countries, using 2018 estimates from the United Nations World Population Prospect. It shows population values on a horizontal linear scale, with country names on a vertical band scale. The visualization uses D3 v5 with SVG rendering, employing `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to construct the chart. A custom tick formatter converts the population numbers into abbreviated units, replacing 'G' with 'B' for billions. Data is loaded from a CSV file using the `csv` method.
AI-generated descriptionThis bar chart show population of the top 10 most populous countries. The data comes from the year 2018 estimate in United Nations: World Population Prospect 2017.
MIT Licensed