🌍 Public
Viewing a saved revision (read-only)
8cacdd9200dc4e9593bc1b0dd7d192f9
J.I. Bar chart (with menu)
This example shows a bar chart comparing COVID-19 and other donation data across donor types, with each category split into two rows for actions and amounts. An interactive menu lets viewers switch between total, COVID-only, and other-only views, updating the bar lengths dynamically. Built with React and D3 v6, it uses `scaleBand` and `scaleLinear` for positioning, SVG patterns and masks for striped bars, and `csv` to load data from a GitHub gist.
AI-generated description