Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
NNicole Kan
Last edited Jun 9, 2020
Created on Jun 9, 2020
Forked from HTML Starter

A horizontal bar chart displays population counts for ten countries, with bars sorted by value from largest to smallest. The visualization uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for categorical y-axis spacing, and `axisLeft`/`axisBottom` for tick marks. Data loads from a CSV file via `d3.csv`, with population values multiplied by 1000. SVG rendering positions rectangles with attributes set from the scales.

AI-generated description
MIT Licensed

Similar vizzes