Skip to main content
100%

making a horizontal bar chart

✓ Published2🌍 Public
VVvgupta
Last edited Mar 12, 2020
Created on Mar 9, 2020
Forked from Customizing Axes

A horizontal bar chart displays the distribution of values across letters, with green bars drawn in an SVG canvas. The visualization uses d3-scale's scaleLinear and scaleBand to map data values and letter categories to pixel positions, while d3-axis renders the left and bottom tick marks. Data loads from a local CSV file, and the bars are appended as SVG rect elements, with widths proportional to each letter's value.

AI-generated description
MIT Licensed

Similar vizzes