Skip to main content
100%

Making a bar chart

✓ Published1🌍 Public
KKaleb LaBarrie
Last edited Sep 17, 2021
Created on Sep 16, 2021

A horizontal bar chart displays population estimates for ten countries from a CSV file, with each bar’s length proportional to population. The visualization uses d3.csv to load data, d3.scaleLinear for the x-axis, d3.scaleBand for the y-axis, and d3.axisLeft and d3.axisBottom for ticks. Bars are appended as SVG rectangles with steelblue fill, positioned using the scales’ output ranges.

AI-generated description
MIT Licensed

Similar vizzes