Skip to main content
100%

ICE-6 - Scatter Plot - 11629157

✓ Published0🌍 Public
NNiharika-Guthikonda
Last edited Mar 11, 2023
Created on Mar 11, 2023
Forked from ICE-6 - 11629157

This example shows the total COVID-19 cases for the top 20 countries as horizontal bars, with each bar’s length proportional to the case count. The visualization uses React with a state hook to fetch and parse a CSV file via `d3.csv`, then renders an SVG using `d3.scaleBand` for the categorical country axis and `d3.scaleLinear` for the numerical case axis. Grid lines and tick labels are drawn manually with `d3.axisBottom`-style logic, while the bars themselves are simple SVG rectangles positioned using the computed scales.

AI-generated description

A bare minimum HTML page.

MIT Licensed

Similar vizzes