🌍 Public
Viewing a saved revision (read-only)
01a48d05bf7f45e78f18fa949ea7ac7c
Stylized Bar Chart with Menus success
This interactive bar chart displays the top 20 hospitals by number of vacant COVID-19 beds, sourced from a CSV file of Covid Bed Status data. Users can switch the x-axis metric among three attributes—Total ICU Beds, Total COVID Beds, and Total COVID Vacant—via a dropdown menu. The visualization is rendered as an SVG using React components, with D3.js handling scales, axes, and data binding through functions like `scaleBand`, `scaleLinear`, and `csv`. Styled with the Poppins font, the chart updates reactively to the selected attribute.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.