Interactive Bar Charts for Various COVID 19 Stats in the US
This interactive bar chart displays COVID-19 statistics for 20 US counties, showing metrics like confirmed cases and deaths selected via a dropdown menu. The bars are sorted by ascending death counts. Built with D3.js v6, it uses `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to render the SVG visualization. Data comes from a New York Times dataset loaded as a CSV, with user interactions handled through a custom menu component using D3’s `dispatch` for change events.
AI-generated descriptionThis is an example visualization desgined for the COVID-19 dataset by New York Times. The data for confirmed deaths in the first 10 rows of the dataset corresponding to these 20 counties were selected and visualized in the form of a bar chart
Source of data can be found in my data Gist here
Update (Iterate your work): The bar chart can now be displayed in order of increasing number of deaths