Skip to main content
100%

2nd visual

✓ Published0🌍 Public
Jjaideeptripurani12@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024
Forked from 2nd

This bar chart shows the total COVID-19 cases reported in 2020 for five selected countries: the United States, India, Brazil, Russia, and the United Kingdom. It aggregates data from a CSV file hosted on GitHub, filtering records by year and location, then summing the `total_cases` field per country using `d3.nest()`. The visualization uses `d3.scaleBand` and `d3.scaleLinear` to position bars, with axes rendered via `d3.axisBottom` and `d3.axisLeft`. Interactive tooltips appear on mouseover, displaying the country name and its case count, while the SVG is animated only through these transition-based hover effects.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes