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