Making a Bar Chart
✓ Published0🌍 Public
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 descriptionMIT Licensed