Skip to main content
100%

Interactive Bar Charts for Various COVID 19 Stats in the US

✓ Published0🌍 Public
MManh Pham
Last edited Dec 5, 2021
Created on Oct 7, 2021

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 description

This 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

MIT Licensed

Similar vizzes