Skip to main content
100%

Making a bar graph!

✓ Published0🌍 Public
PPrayagvin
Last edited Jul 29, 2020
Created on Jul 28, 2020
Forked from Lets make a face!

A simple bar chart displays population data for ten countries from a CSV file. The bars extend horizontally, with their lengths scaled proportionally to each country's population. The visualization uses D3.js, employing the `select`, `csv`, `scaleLinear`, `max`, and `scaleBand` APIs. The SVG canvas is 960 by 500 pixels, and the rendering is done directly in SVG. The code converts the population values from thousands to actual numbers before mapping them to pixel widths.

AI-generated description
MIT Licensed

Similar vizzes