Skip to main content
100%

Making a bar chart

✓ Published0🌍 Public
Ss-janibekova
Last edited Oct 31, 2019
Created on Oct 31, 2019
Forked from Making a bar chart

This example displays a horizontal bar chart of population counts for the ten most populous countries, using data from a CSV file. The chart encodes population as bar width and country names along the vertical axis, with axes generated using `d3.axisLeft` and `d3.axisBottom`. It employs `d3.csv` for data loading, `d3.scaleLinear` and `d3.scaleBand` for scaling, and appends SVG `rect` elements to render the bars. The source data is loaded from `data.csv`.

AI-generated description
MIT Licensed

Similar vizzes