Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
MMei
Last edited Dec 30, 2020
Created on Dec 30, 2020

A horizontal bar chart displays population counts for ten countries, sorted alphabetically by country name. Each bar’s length is scaled linearly from zero to the maximum population, while the y-axis uses a band scale for country labels. The visualization is built with D3 v5, using `d3.csv` to load data, `scaleLinear` and `scaleBand` for axes, and SVG rectangles for bars. The chart includes left and bottom axes generated with `axisLeft` and `axisBottom`.

AI-generated description
MIT Licensed

Similar vizzes