Skip to main content
100%

Let's make a bar chart

✓ Published2🌍 Public
Ssunilkrishnav
Last edited Mar 22, 2020
Created on Mar 22, 2020

This bar chart displays population estimates for the ten most populous countries, using horizontal bars ordered alphabetically by country name. The visualization loads data from a CSV file and renders SVG rectangles scaled by population magnitude. Built with D3 v5, the code uses `d3.csv`, `scaleBand`, `scaleLinear`, `axisLeft`, and `axisBottom` to construct the chart with labeled axes and steel-blue bars. Margins, a custom inner plotting area, and a 0.1 band padding define the layout.

AI-generated description

hi

MIT Licensed

Similar vizzes