Customizing Axes
✓ Published1🌍 Public
This bar chart displays the population of the top 10 most populous countries in 2019, based on United Nations estimates. The horizontal bars are colored purple, with country names on the y-axis and population values scaled linearly on the x-axis. The example uses d3.csv to load data, d3.scaleLinear and d3.scaleBand for scaling, and d3.axisLeft and d3.axisBottom for customizing the chart’s axes. All elements are rendered as SVG within a single page.
AI-generated descriptionThis bar chart shows population of the top 10 most populous countries. The data comes from the year 2019 estimate in United Nations: World Population Prospects 2019.
MIT Licensed