Skip to main content
100%

Making a bar chart

✓ Published2🌍 Public
Rratschke
Last edited Jan 26, 2020
Created on Jan 25, 2020
Forked from Let's make a face!

This bar chart displays population counts for ten countries, using horizontal bars ordered by country name. The visualization is built with D3 v5, loading data from a CSV file and rendering to SVG. It employs `scaleLinear` for the population axis and `scaleBand` for the categorical country axis, with `axisLeft` and `axisBottom` generating the ticks. Bars are drawn as SVG rectangles with a fixed steelblue fill, and the chart is positioned using explicit margins.

AI-generated description
MIT Licensed

Similar vizzes