Skip to main content
100%

Deaths due to corona

✓ Published0🌍 Public
NNikith Reddy
Last edited Mar 3, 2023
Created on Mar 3, 2023
Forked from Making a Bar Chart

This horizontal bar chart ranks the top 20 countries by total reported COVID-19 deaths, using a steel-blue fill for each bar. The x-axis is labeled "Deaths" and uses a custom tick formatter that abbreviates large numbers (e.g., "1.13M"), while the y-axis lists country names. Built with D3 v5, the visualization uses `scaleLinear` for the numeric axis, `scaleBand` for the categorical country axis, and `axisBottom`/`axisLeft` for grid lines and labels. Data is loaded from a local CSV file.

AI-generated description

This 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.

MIT Licensed

Similar vizzes