Skip to main content
100%

Activity6_Question1.2

✓ Published0🌍 Public
UUday Vandanapu
Last edited Oct 23, 2024
Created on Oct 21, 2024

This horizontal bar chart shows the populations of 20 countries in 2010, sorted by country name. The chart uses React with D3 v5, employing `scaleBand` for the y-axis positioning and `scaleLinear` for the x-axis population values. Data is loaded via `csv` from a GitHub-hosted CSV file, with population values converted from thousands. The visualization renders as SVG, with tick lines styled in blue and bars in green, and includes formatted axis labels using `format('.2s')`.

AI-generated description

barchart on population of 20 countries in 2010

MIT Licensed

Similar vizzes