Adding Style to Bar Chart
✓ Published0🌍 Public
A horizontal bar chart displays United Nations population data for ten countries in 2020, with country names on the y-axis and population values on the x-axis. Built with React and D3 v7, it uses `scaleBand` for the categorical axis and `scaleLinear` for the numeric scale. SVG rectangles render each bar, while custom `AxisBottom` and `AxisLeft` components generate ticks and labels. The data loads asynchronously via D3's `csv` parser from a GitHub-hosted CSV file.
AI-generated descriptionUses React to render data
MIT Licensed