🌍 Public
Viewing a saved revision (read-only)
8f8699a9ee49462b849a0236309c82ad
data
This example shows a horizontal bar chart of population values over time, with each year displaying two bars representing different data points. The chart uses D3 v5’s `scaleLinear` and `scaleBand` to map population counts and years, with SVG rectangles drawn via `selectAll('rect')`. Data is loaded from a CSV file using `d3.csv` and multiplied by 1000 for display, with axes rendered using `axisLeft` and `axisBottom`.
AI-generated description