🌍 Public
Viewing a saved revision (read-only)
4c3d674e5c274ddea63ef04492e1b4d9
Fork of React & D3 Vibecoding Starter
A bar chart showing the frequency of letters in a dataset, rendered with React and D3 v7. The visualization displays interactive bars that respond to clicks, highlighting the selected category while dimming others. The code combines React's `useState` hook for state management with D3's `scaleBand`, `scaleLinear`, and axis components, using a `ResizeObserver` to handle responsive resizing. Data loads from a local CSV file, and bars apply transitions on hover and selection.
AI-generated description