Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of CV: Bar Chart

Public visualization

Fork of CV: Bar Chart

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed