Skip to main content
100%

Fork of React & D3 Vibecoding Starter

✓ Published0🌍 Public
Ssravya7136@gmail.com
Last edited Oct 4, 2025
Created on Oct 4, 2025

This example shows an interactive bar chart of letter frequencies loaded from a CSV file. D3 v7 parses the data with `d3.csv`, while React manages the component state and a `ResizeObserver` tracks container dimensions. Clicking a bar toggles its highlight by updating React state, which re-renders the SVG with adjusted fill and opacity. Axes are created with `d3.axisBottom` and `d3.axisLeft`, and scales using `d3.scaleBand` and `d3.scaleLinear`.

AI-generated description
MIT Licensed

Similar vizzes