Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
KKevinw97
Last edited Jan 17, 2020
Created on Jan 17, 2020
Forked from Making a Bar Chart

This example shows a bar chart ranking countries by population, with the data read from a CSV file and rendered as SVG rectangles. It uses D3 v5’s `csv` loader, `scaleLinear` and `scaleBand` for axes, and `axisLeft`/`axisBottom` to display the country names and population values. The chart applies margins and a steelblue fill to each bar.

AI-generated description
MIT Licensed

Similar vizzes