ICE-6
This bar chart displays COVID-19 deaths by country, ranking the top nations based on their reported death tolls. The visualization uses a horizontal bar layout with red rectangles, where the x-axis represents death counts and the y-axis lists country names. The code imports D3 v5 functions including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart, with custom tick formatting that converts large numbers into abbreviated values. The data is loaded via `d3.csv` from an empty URL, so the chart renders without actual data in its current state.
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. It also demonstrates customization of D3 axes.