🌍 Public
Viewing a saved revision (read-only)
27c5b59441fa4a9c9f2c3182416e1e49
Making a Bar Chart
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 description