Skip to main content
100%

Bar Chart!

✓ Published0🌍 Public
Rrandom-program
Last edited Nov 22, 2020
Created on Nov 22, 2020
Forked from Bar Chart!

This example shows a horizontal bar chart of deaths across Canadian provinces and territories, ordered from highest to lowest. The chart uses a linear scale for the x-axis and a band scale for the y-axis, with bars rendered as SVG rectangles. D3 v5 functions such as `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` load the data and generate the axes, while a custom tick formatter shortens large numbers. The visualization reads from an external CSV file and includes a title and axis label.

AI-generated description
MIT Licensed

Similar vizzes