Skip to main content
100%

Lets make a BarChart

✓ Published1🌍 Public
Llukastieber
Last edited Aug 10, 2020
Created on Aug 10, 2020
Forked from Lets make a face

This bar chart displays population counts for ten countries, with horizontal bars ordered by country name and scaled by population value. The visualization uses React with D3 v5, leveraging `d3.csv` to load data, `scaleLinear` and `scaleBand` for positioning, and `axisLeft` and `axisBottom` for labeled axes. Bars render as SVG rectangles filled with steelblue, with the population values multiplied by 1,000 during preprocessing. The chart applies margins and a padding value to separate bars, producing a clean, readable comparison of national populations.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes