Skip to main content
100%

Make a Bar Chart

✓ Published0🌍 Public
GGulrez
Last edited Oct 31, 2018
Created on Oct 31, 2018

This example shows a bar chart of population data for ten countries using D3 v5. The chart uses a linear scale for population and a band scale for country names, with the Y axis labeling each country. The SVG rendering is built using `select`, `csv`, `scaleLinear`, `scaleBand`, and `axisLeft` APIs, with bars styled using `fill` set to steelblue. Data is loaded from `data.csv` and population values are multiplied by 1000.

AI-generated description

Gulrez Khan

This bar chart shows some data from some Data Source. I am being lazy so not writing the actuall stuff. Afterall, this is just to learn.

MIT Licensed

Similar vizzes