Skip to main content
100%

fresh block

✓ Published0🌍 Public
JJastor11
Last edited Aug 9, 2017
Created on Aug 9, 2017

This example shows a simple bar chart with five blue rectangles arranged horizontally, where each bar’s height corresponds to a value in a small hardcoded array. The chart uses SVG rectangles bound to the data via d3.v4’s selection.data, with x positions computed from an index and y positions derived from a fixed chart height minus each bar’s value. The code sets width, height, fill, and stroke attributes directly on the rect elements, producing a basic static visualization without axes or labels.

AI-generated description

Built with blockbuilder.org

mit Licensed

Similar vizzes