Skip to main content
100%

FULL SOL LE WITT REPRODUCTON D3

✓ Published2🌍 Public
Rrespingu
Last edited Sep 23, 2022
Created on Sep 23, 2022

This example reproduces a Sol LeWitt-inspired drawing using D3.js version 7.6.1 within a React environment, rendering to SVG. It creates a grid of 100 thin horizontal and vertical rectangles, each masked by a large diamond-shaped symbol. Two masks are applied with inverted fills—one dark on light, one light on dark—so the grid lines appear only within or outside the central diamond, depending on the mask. The code uses `d3.select`, `d3.range`, and `d3.symbol` to generate the shapes and masks.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes