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