Skip to main content
100%

Pathetic Bar Chart

✓ Published1🌍 Public
WWilliam Couturiaux
Last edited Apr 13, 2021
Created on Apr 13, 2021

This bar chart displays the ten most populous countries in 2020 using UN population data. The visualization loads the CSV dataset with D3’s `csv` utility and renders horizontal bars through React components in SVG. D3’s `scaleBand` and `scaleLinear` map country names to vertical positions and population values to bar widths, while React’s `useState` and `useEffect` hooks manage data fetching and component state.

AI-generated description

A program that loads population data with D3 utilities and uses React to render the data as a bar chart.

MIT Licensed

Similar vizzes