Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of React & D3 Vibecoding Starter

Public visualization

Viewing a saved revision (read-only)

4c3d674e5c274ddea63ef04492e1b4d9

Fork of React & D3 Vibecoding Starter

0 stars1🌍 Public
CCurran Kelleher
Last edited Jun 12, 2025
Created on Jun 12, 2025

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