D3 bar chart without data-binding
A static SVG bar chart displays twenty purple rectangles of varying heights, representing an inline array of numeric values. The code uses D3 v4 scales, `d3.scaleLinear`, to map data values to pixel heights and positions, though it does not use the data join's update or exit selections. Bars are appended via `selectAll("rect").data(data).enter()`, with each rectangle’s height and y-coordinate computed from the scale; the x-position is calculated manually from the index. No interaction or animation is present, and the chart is rendered with fixed SVG dimensions.
AI-generated descriptionBuilt with blockbuilder.org
forked from <a href='http://bl.ocks.org/romsson/'>romsson</a>'s block: <a href='http://bl.ocks.org/romsson/f4baa95d363ee21d0952ca561cd2a0e5'>D3 bar chart without data-binding</a>