Skip to main content
100%

Fork of ICE-6: Covidcases

✓ Published0🌍 Public
Pprathyusha-reddy-arch
Last edited Mar 23, 2023
Created on Mar 23, 2023

Using a bar chart, this visualization displays the top ten countries by active COVID-19 cases in 2022. The React app loads data from a CSV file containing country populations and case counts, rendering it as an SVG. D3’s `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` are used to position the bars and axes. The chart includes purple gridlines and a title, with data fetched via `d3.csv` and formatted using D3’s `max` and `format` functions. React’s `useState` and `useEffect` hooks manage the asynchronous data loading and rendering process.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes