Skip to main content
100%

Making a Bar Chart - 071919

✓ Published0🌍 Public
HhhernandezATsxu
Last edited Jul 20, 2019
Created on Jul 20, 2019

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
MIT Licensed

Similar vizzes