🌍 Public
Viewing a saved revision (read-only)
3ac672dd24dc485787d8bc5c860b5467
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