Skip to main content
100%

Making a bar chart

✓ Published2🌍 Public
RRod Potter
Last edited Apr 23, 2019
Created on Apr 23, 2019
Forked from Making a bar chart

This bar chart displays the populations of the ten most populous countries, using horizontal bars ordered by country name. The visualization loads data from a CSV file and renders SVG rectangles scaled with d3.scaleLinear and d3.scaleBand, with axes generated via d3.axisLeft and d3.axisBottom. Population values are multiplied by 1000 during data preparation, and the chart applies a fixed margin layout within an SVG container.

AI-generated description

This bar chart shows population of the 10 most populous countries.

MIT Licensed

Similar vizzes