🌍 Public
Viewing a saved revision (read-only)
1124488350774f7f8779ab5942c403a7
Customizing Axes
This bar chart displays the top 10 most COVID-infected countries, using 2018 population estimates from the United Nations World Population Prospects. The visualization uses d3.scaleLinear and d3.scaleBand to map case counts and country names, with d3.axisLeft and d3.axisBottom for custom axes. The code formats tick labels using d3.format, removes default axis lines, and appends custom text labels for the chart title and axis caption.
AI-generated descriptionThis bar chart shows the population of the most populous countries. The data comes from the year 2018 estimate in United Nations : World Population Prospects 2017.