🌍 Public
Viewing a saved revision (read-only)
5245b91d12c24424a5b91c80a076c4ab
Making a Bar Chart
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