Skip to main content
100%

Making a barChart

✓ Published1🌍 Public
LLozakaka
Last edited Oct 10, 2022
Created on Oct 10, 2022
Forked from HTML Starter

This bar chart displays population figures per year, with horizontal bars extending from a linear scale up to the maximum value. The code loads data from a CSV file and renders it as SVG, using D3 v5’s `scaleLinear`, `scaleBand`, `axisBottom`, and `axisLeft` to construct the axes. The chart is built declaratively with `select`, `csv`, and `max`, while styling is applied via CSS.

AI-generated description
MIT Licensed

Similar vizzes