Skip to main content
100%

Fork of Making a bar chart

✓ Published0🌍 Public
KKaleb LaBarrie
Last edited Sep 17, 2021
Created on Sep 17, 2021
Forked from Making a bar chart

This bar chart displays the population of ten countries in 2018, using a horizontal layout where bar length encodes population value. The chart is rendered as an SVG using D3 v7, with a linear scale for the x-axis and a band scale for the y-axis. It employs the `csv` function to load data from `data.csv`, `scaleLinear` and `scaleBand` for scales, and `axisLeft` and `axisBottom` for axes. Bars are styled with steelblue via CSS.

AI-generated description
MIT Licensed

Similar vizzes