Skip to main content
100%

ICE6 snehith

✓ Published2🌍 Public
Ssai snehith nadipally
Last edited Mar 21, 2024
Created on Mar 21, 2024

This example visualizes COVID-19 confirmed cases for ten countries using a horizontal bar chart rendered as SVG with React and D3 v5. It shows each country's case count as a blue bar, with country labels on the y-axis and a linear scale on the x-axis. The code loads data from a CSV file via `d3.csv`, filters to the 22nd through 31st rows, and uses `scaleBand` and `scaleLinear` to map data to positions. React manages the component state and rendering, while D3 handles the scales and axis ticks. The visualization highlights the relative magnitude of cases across selected countries.

AI-generated description
MIT Licensed

Similar vizzes