Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Mmuddcohd
Last edited Jun 13, 2022
Created on Jun 9, 2022

This example shows a horizontal bar chart of population figures for the ten most populous countries, using a CSV data source. It applies a linear scale for population values and a band scale for country names, with axes generated via `axisLeft` and `axisBottom`. The chart renders as SVG rectangles filled with steelblue, and the population values are converted from thousands to raw numbers before scaling.

AI-generated description
MIT Licensed

Similar vizzes