Skip to main content
100%

Making a bar chart

✓ Published1🌍 Public
HHelenaShu
Last edited Aug 30, 2019
Created on Aug 27, 2019
Forked from Making a bar chart

This horizontal bar chart displays population figures for African regions, using bars scaled by population size. Built with D3 v5, it employs `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisBottom` and `axisLeft` to render axes. Data is loaded from a CSV file via `csv`, and the SVG output is styled with steelblue bars and custom tick labels. The chart includes axis labels and a title, with margins calculated from the SVG’s width and height.

AI-generated description
MIT Licensed

Similar vizzes