Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
Ssheepsbleat
Last edited May 5, 2020
Created on May 5, 2020
Forked from Bar Chart

This bar chart displays the populations of ten countries, ordered by country name, with bar length encoding population size. The visualization uses D3 v5’s `scaleLinear` to map population values to pixel widths and `scaleBand` to position bars along the y-axis. Rendered as SVG rectangles within a margin-based layout, it includes left and bottom axes generated via `axisLeft` and `axisBottom`. The code loads data from a CSV file using D3’s `csv` module and applies a steel blue fill to all bars.

AI-generated description
MIT Licensed

Similar vizzes