Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
AAnthony Lee
Last edited Sep 7, 2022
Created on Sep 2, 2022

This bar chart displays population estimates for the ten most populous countries, using horizontal bars ordered by descending population. The visualization is built with D3 v5, loading data from a CSV file and rendering to SVG. It employs `d3.scaleLinear` for the x-axis, `d3.scaleBand` for the categorical y-axis, and `d3.axisLeft` and `d3.axisBottom` for the axes. The chart maps population values to bar widths, with the y-axis labels showing country names.

AI-generated description
MIT Licensed

Similar vizzes