Skip to main content
100%

Bar Chart.js

✓ Published1🌍 Public
Dddperdue
Last edited Mar 23, 2020
Created on Mar 23, 2020

This bar chart displays the populations of five countries, using horizontal bars to compare values. It loads data from a CSV file and renders with D3 v5, using `d3.csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. The SVG is sized via attributes, and margins define an inner plotting area. Axis ticks are formatted with `d3.format`, and the chart includes a title and axis label. The bars are filled with steelblue, and grid lines are drawn using a negative tick size.

AI-generated description
MIT Licensed

Similar vizzes