Skip to main content
100%

Fork of demo

✓ Published0🌍 Public
Ddr_nareshvet@yahoo.in
Last edited Jun 16, 2025
Created on Jun 16, 2025
Forked from demo

This demo shows an interactive bar chart of letter frequencies from a CSV dataset, with clickable bars that highlight the selected letter while dimming others. Built with React and D3 v7, the visualization uses `d3.scaleBand` and `d3.scaleLinear` to position bars, `d3.axisBottom` and `d3.axisLeft` for labeled axes with gridlines, and a ResizeObserver to make the SVG responsive to container size changes. A custom `useDimensions` hook feeds updated dimensions back into the rendering pipeline, while D3 selections manage bar transitions for hover and selection states.

AI-generated description
MIT Licensed

Similar vizzes