Skip to main content
100%

Adding Style to Bar Chart

✓ Published0🌍 Public
Aangelathacker123
Last edited Feb 18, 2022
Created on Feb 18, 2022

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 description

Uses React to render data

MIT Licensed

Similar vizzes