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)

d0011ac2ffa14c53b1ecb1ae143fc2a1

Fork of React & D3 Vibecoding Starter

0 stars0🌍 Public
Ccraftinghermit@gmail.com
Last edited Apr 25, 2025
Created on Apr 25, 2025

This example shows a simple bar chart of letter frequencies from a local CSV file. The bars are interactive, so clicking one toggles its selection, highlighting it in a darker color while dimming the others. Built with React and D3.js v7, it uses a declarative `join` pattern to render the SVG elements, `scaleBand` and `scaleLinear` for the axes, and a `ResizeObserver` in React to make the chart responsive to container size changes.

AI-generated description