Skip to main content
100%

Fork of React & D3 Vibecoding Starter

✓ Published0🌍 Public
GGabriel Dantas
Last edited Sep 19, 2025
Created on Sep 19, 2025

This example demonstrates a clean, interactive bar chart built with React and D3.js (v7). It visualizes a small dataset, showing the frequency of letters from a CSV file, with bars for each letter. The chart allows users to click on individual bars to highlight and dim others, creating a selection state. It is built by combining React's component model for state management and DOM control with D3's `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` APIs for rendering and layout. The visualization is fully responsive, using a `ResizeObserver` to recalculate dimensions.

AI-generated description
MIT Licensed

Similar vizzes