Skip to main content
100%

Making a Bar Chart

✓ Published0🌍 Public
Mmanalhilali
Last edited Nov 29, 2020
Created on Nov 29, 2020
Forked from Making a Bar Chart

This example shows a horizontal bar chart of the ten most populous countries, using population data loaded from a CSV file. It renders as SVG with D3 v5, using `d3.csv`, `d3.scaleLinear`, `d3.scaleBand`, `d3.axisLeft`, and `d3.axisBottom`. The bars are filled with steelblue, the x-axis tick labels are formatted with `d3.format` to abbreviate large numbers, and grid lines extend from the x-axis across the plot area.

AI-generated description
MIT Licensed

Similar vizzes