Skip to main content
100%

Making a barchart

✓ Published0🌍 Public
SShane Carey
Last edited Aug 30, 2018
Created on Aug 30, 2018
Forked from Hello VizHub!

This example shows a static bar chart of world population by continent for 2018, with values in absolute numbers and percentages of the world total. The chart renders as an SVG using D3 v5, reading inline CSV data parsed with `d3.csvParse`. The code maps each row, stripping commas from population figures and converting them to numbers, then logs the parsed array to the console. The visualization relies on D3 selections to access the SVG dimensions, though no axes or bars are explicitly drawn in the provided code.

AI-generated description
MIT Licensed

Similar vizzes