Skip to main content
100%

data

✓ Published1🌍 Public
AAllInclusive
Last edited Jan 9, 2020
Created on Jan 9, 2020
Forked from Bar chart

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
MIT Licensed

Similar vizzes