Customizing Axes
✓ Published1🌍 Public
This bar chart displays the top 10 most populous countries using 2018 United Nations estimates. It uses d3.scaleBand and d3.scaleLinear to map countries and populations, with d3.axisLeft and d3.axisBottom for the axes. The code customizes the x-axis tick format with d3.format, removing axis domain lines and adding a custom population label. A title clarifies the chart’s purpose, and data is loaded from a CSV file.
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