bar chart
✓ Published1🌍 Public
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 descriptionAn example showing the capabilities of VizHub.
MIT Licensed