🌍 Public
Viewing a saved revision (read-only)
d222ffd44d9f4618b5ee2e4837e59eb2
Fork of React & D3 Vibecoding Starter
This example shows an interactive bar chart of coffee sales data, displaying counts for different categories with clickable bars that highlight selections. Built with React hooks and D3.js, it uses `scaleBand` and `scaleLinear` for positioning, `axisBottom` and `axisLeft` for axes, and loads CSV data via `d3.csvParse` from a remote URL. A `ResizeObserver` tracks container dimensions to make the visualization responsive.
AI-generated description