Skip to main content
100%

quilt block (random color)

✓ Published0🌍 Public
Aannabsmylie
Last edited Sep 30, 2016
Created on Sep 29, 2016

A grid of 1,500 small squares fills the screen, each cell randomly assigned a harmonious golden-ratio-based color from a custom HSL-to-RGB function. The visualization shows how a quilt-like pattern emerges from uniform geometry with varied fills. Built with D3 v4, the code generates row and column data arrays, then binds them to SVG rectangles using `selectAll`, `data`, and `enter`. The `randomColor` closure iterates through hues via the golden ratio, while white strokes separate each square, creating a subtle grid structure.

AI-generated description

Built with blockbuilder.org

forked from <a href='http://bl.ocks.org/annabsmylie/'>annabsmylie</a>'s block: <a href='http://bl.ocks.org/annabsmylie/0ad5c50200d5ef47a0129b99b1db004c'>quilt block</a>

mit Licensed

Similar vizzes