Skip to main content
100%

Fork of CV: Bar Chart

✓ Published0🌍 Public
Ssravya010
Last edited Mar 9, 2026
Created on Mar 9, 2026
Forked from CV: Bar Chart

This example displays a bar chart of country populations, where each bar is initially black. Clicking a bar turns it white with a black stroke, visually selecting it. The chart is built with React and D3 v7, using D3’s `scaleBand` and `scaleLinear` for axes, and SVG rendering. Data loads from a CSV file, and bar interactions trigger re-renders with updated styling.

AI-generated description
MIT Licensed

Similar vizzes