Skip to main content
100%

[D3] Le Witt - Collection

✓ Published0🌍 Public
WWRCIECH
Last edited Dec 25, 2022
Created on Dec 24, 2022

This example renders a grid of vertical and horizontal stripes whose visibility is selectively masked by two overlapping D3 symbol arrays. Using the D3 `symbol` and `symbols` APIs, it generates circle, cross, diamond, square, star, triangle, and wye glyphs as SVG paths, which define alternating black-and-white masks via `scaleBand` and `mask` elements. The result is a layered, generative composition inspired by Sol LeWitt’s wall drawings, with React managing the SVG canvas and D3 v6 handling data binding and coordinate transforms.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes