Fork of React & D3 Vibecoding Starter
✓ Published0🌍 Public
A React 19 and D3 v7 bar chart displays letter frequencies from a CSV file, with bars that dim and darken upon selection. The visualization uses a ResizeObserver hook to track container dimensions, d3.scaleBand and d3.scaleLinear for scales, and d3.axisBottom/axisLeft for axes with gridlines. Clicking a bar toggles its highlighted state, which persists through React's useState.
AI-generated descriptionMIT Licensed