Skip to main content
🔗 Unlisted

Share visualization

Send this visualization to others.

Bar_Plot

Unlisted visualization

Anyone with the link can view this unlisted visualization. Posting it publicly will make the link discoverable.

Bar_Plot

0 stars4🔗 Unlisted
Ttadisatishreddy2000@gmail.com
Last edited Mar 25, 2025
Created on Mar 24, 2025

This bar chart displays the total number of patients received by the top ten hospitals in 2024, aggregating yearly data from 2020 through 2024. It uses React with hooks to load and process a CSV file via d3.csv, then renders horizontal bars as SVG rectangles with d3.scaleLinear for the x-axis and d3.scaleBand for the y-axis. Hover effects scale the bars, and axis labels show patient counts formatted in millions. Colors come from d3.schemeCategory10.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed