Stylized Bar Chart
✓ Published1🌍 Public
A stylized bar chart displays the top ten countries by population for 2020. D3’s `scaleBand` and `scaleLinear` map country names to horizontal bars and population values to widths, with rounded corners and custom axis ticks formatted using D3’s `format` API. React state, managed in a custom `useData` hook, loads the UN Population 2019 CSV via `d3.csv` and renders the SVG.
AI-generated descriptionA program that loads in some data using D3 utilities, and uses React state to keep track of the data.
MIT Licensed