fresh block
✓ Published0🌍 Public
BBenPiggot
Last edited Feb 20, 2018
Created on Feb 20, 2018
A simple bar chart displays five blue rectangles of varying heights, encoding the array `[100, 250, 175, 200, 120]` as vertical bars. The visualization uses D3 v4 to bind data to SVG `rect` elements, setting their `x`, `y`, `width`, and `height` attributes with data-driven values. Each bar is positioned sequentially along the horizontal axis, with its height proportional to the data value and filled in solid blue with white strokes. The chart demonstrates basic data binding and attribute manipulation in SVG, without axes or scales.
AI-generated descriptionBuilt with blockbuilder.org
mit Licensed