Skip to main content
100%

CV: Bar Chart

✓ Published14🌍 Public
CCurran Kelleher
Last edited Oct 24, 2025
Created on Oct 24, 2025
Forked from CV: Scatter Plot

This bar chart displays the population of ten countries, using D3 scales and axes to map country names to horizontal categories and population values to vertical positions. Built with React and D3 v7, the visualization loads CSV data, renders SVG bars, and updates smoothly through React state. Clicking a bar highlights it by changing its fill and stroke. The chart includes axis labels and responds to container size changes via a ResizeObserver.

AI-generated description
MIT Licensed

Similar vizzes