Skip to main content
100%

Bar Chart v1

✓ Published1🌍 Public
Bbenpedroscott
Last edited Sep 7, 2021
Created on Sep 7, 2021
Forked from Making a Bar Chart

This bar chart displays population data for ten countries, with horizontal bars ordered by decreasing population from China to Mexico. The visualization uses D3 v5 with an SVG rendering approach, employing `scaleLinear` for the population axis and `scaleBand` for the categorical country axis. Data is loaded from a CSV file using D3's `csv` function, with population values multiplied by 1000 to convert from thousands. The chart includes axis labels via `axisLeft` and `axisBottom`, with bars styled in steelblue.

AI-generated description
MIT Licensed

Similar vizzes