Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ice-6

Public visualization

Fork of ice-6

0 stars0🌍 Public
Hhm0421
Last edited Mar 24, 2023
Created on Mar 24, 2023
Forked from ice-6

A horizontal bar chart shows the number of hospitalized confirmed COVID-19 patients for the top 20 counties, fetched from a CSV file via `d3.csv`. The chart uses React state and effects to load data, then renders SVG `rect` elements scaled with `d3.scaleBand` for counties and `d3.scaleLinear` for patient counts. Orange gridlines and tick labels are drawn manually, with axes positioned using SVG transforms.

AI-generated description

A bare minimum HTML page.

Comments

Sign in to join the discussion.

MIT Licensed