Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CV: Bar Chart

Public visualization

CV: Bar Chart

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

Comments

Sign in to join the discussion.

MIT Licensed