Skip to main content
100%

Making a Bar Chart

✓ Published1🌍 Public
SSean Moore
Last edited Nov 4, 2019
Created on Nov 4, 2019
Forked from Making a Bar Chart

This example demonstrates how to build a basic bar chart from a CSV dataset, showing the population of ten countries. It uses D3.js v5 to load the data and map each country's population value to the height of a corresponding rectangle on an SVG canvas. The chart is rendered using SVG elements, with the `d3.csv` parser handling the `data.csv` file and SVG `<rect>` elements scaled proportionally to the population figures.

AI-generated description
MIT Licensed

Similar vizzes