Population Bar Chart with axis
✓ Published1🌍 Public
A horizontal bar chart displays the top 10 countries by projected 2020 population, with a linear x-axis and categorical y-axis. Bars are drawn as SVG `<rect>` elements, with scales and axis ticks generated using `d3.scaleBand`, `d3.scaleLinear`, and `d3.max`. The chart renders within a React component using React hooks (`useState`, `useEffect`) and updates after loading CSV data asynchronously via `d3.csv`. Data comes from a GitHub-hosted UN Population 2019 dataset.
AI-generated descriptionA program that loads and visualizes some data
MIT Licensed