Skip to main content
100%

Tributary inlet

✓ Published0🌍 Public
CCBasis
Last edited Feb 24, 2013
Created on Feb 24, 2013

A small triangular cascade of red, blue, and green rectangles forms a stepped diagonal pattern, with each bar’s height increasing linearly along the horizontal axis. The visualization uses D3.js to bind an array of 30 numbers to SVG `rect` elements, positioning them at regular intervals while mapping each index to a distinct color via a three-color ordinal scale. The rendering approach relies on the classic enter selection pattern, setting width, x, y, and height attributes directly. This compact example demonstrates how ordinal color mapping and simple data-driven geometry can create a rhythmic, geometric composition.

AI-generated description

Similar vizzes