🌍 Public
Viewing a saved revision (read-only)
ce54ee6886ea4dd8bb1b4004dc6f3a84
Make a Bar Chart
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 descriptionGulrez 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.