Skip to main content
100%

Fork of Fork of Fork of Random square shapes with react July 4,2022 - 2

✓ Published1🌍 Public
NNita
Last edited Jul 6, 2022
Created on Jul 4, 2022

A grid of randomly sized and colored squares, each with a thin contrasting outline, fills the viewport in an overlapping, chaotic arrangement. The squares are generated from a derived formula that calculates their positions and dimensions, while their stroke widths and RGB color values are randomized. Built with React and D3 v7, the visualization uses SVG `rect` elements and applies a drop-shadow filter for depth. The data is synthetic, computed directly in the React component rather than loaded from an external source.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes