🌍 Public
Viewing a saved revision (read-only)
0ee92894db5f4203ad859c2e1d630f3c
Making a Bar Chart - 071919
A horizontal bar chart ranks ten countries by population, using steel-blue bars scaled linearly from zero to each country's total. The visualization loads population data from a CSV file, multiplies the values by 1,000, and renders an SVG with D3 v5's `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. The bars are grouped with margins and a padding of 0.1, with country labels on the y-axis.
AI-generated description