Skip to main content
100%

J.I. Bar chart (with menu)

✓ Published1🌍 Public
BbeauMarko
Last edited Mar 18, 2021
Created on Mar 17, 2021

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
MIT Licensed

Similar vizzes