Making a Bar Chart
✓ Published0🌍 Public
A horizontal bar chart displays population counts for ten countries. The chart renders as an SVG and uses D3 v5's `scaleLinear` for the x-axis and `scaleBand` for the y-axis, mapping each country to a rectangle. Data loads from a CSV file via `d3.csv`, with population values multiplied by 1,000 during preprocessing. Bars fill the full width, with no labels or axes visible.
AI-generated descriptionMIT Licensed