Skip to main content
100%

Fork of Making A Bar Chart

✓ Published0🌍 Public
NNyashaBradleymhepo
Last edited Aug 3, 2023
Created on Aug 3, 2023
Forked from Making A Bar Chart

This bar chart displays population estimates for ten countries, with population values read from a CSV file and converted from thousands to the raw count. The visualization uses D3 v7's `scaleLinear` and `scaleBand` to map population to bar width and country names to vertical bands, respectively, rendering the result as SVG. Axes are generated with `axisBottom` and `axisLeft`. The bars themselves are styled with a steelblue fill via CSS, and the layout applies fixed margins to position the chart within the SVG canvas.

AI-generated description
MIT Licensed

Similar vizzes