Skip to main content
100%

Making a Bar chart

✓ Published0🌍 Public
SSpinningK
Last edited Aug 22, 2019
Created on Aug 20, 2019
Forked from Making a Bar chart

This bar chart shows the population of ten countries, with horizontal bars scaled linearly from zero and sorted alphabetically by country name. The visualization uses D3 v5’s `csv` loader to parse data.csv, `scaleLinear` and `scaleBand` for positioning, and `axisLeft` and `axisBottom` to render axes in an SVG. Bars are drawn as `rect` elements with `fill: steelBlue` from the linked stylesheet, while population values are multiplied by 1,000 during preprocessing.

AI-generated description
MIT Licensed

Similar vizzes