Skip to main content
100%

Population Bar Chart

✓ Published1🌍 Public
Nnicklaus-roy
Last edited Apr 12, 2021
Created on Apr 12, 2021
Forked from Pie Chart

A horizontal bar chart displays the top ten countries by 2020 population from a UN dataset loaded via `d3.csv`. The chart uses React hooks (`useState`, `useEffect`) to manage data fetching and rendering, with SVG rectangles sized by `scaleLinear` for population values and positioned by `scaleBand` for country names. The visualization updates once the CSV data is parsed and sorted, presenting a clean, static comparison of population sizes without interactivity.

AI-generated description

Smiley face implementation with React.

MIT Licensed

Similar vizzes