Skip to main content
100%

bar chart

✓ Published1🌍 Public
GGlenn Henshaw
Last edited Sep 27, 2019
Created on Sep 26, 2019
Forked from bar chart

This example displays a horizontal bar chart comparing state values from a CSV dataset. The chart uses D3 v5 APIs including `d3.csv`, `scaleLinear`, `scaleBand`, and `axisBottom` to map state abbreviations to proportional bar widths along an x-axis. Bars are rendered as SVG rectangles with fixed color fills, while the axis label appears at the bottom. The data source is a local CSV file containing state statistical indicators for 2004.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes