Skip to main content
100%

Sol LeWitt Reproduction with D3

✓ Published1🌍 Public
Ppawelsapiecha
Last edited Oct 23, 2022
Created on Oct 23, 2022

A grid of horizontal and vertical striped rectangles is partially visible through two circular masks, creating a layered crosshatch pattern reminiscent of Sol LeWitt's geometric wall drawings. The example uses D3 selections with `selectAll` and `join` to bind data from `d3.range` to SVG `rect` elements, rendered directly as SVG. Two SVG `mask` elements define the circular cutouts: one inverts the grid by showing only the intersection of shapes, while the other reveals the full pattern. The code dynamically sizes the visualization to the full browser window.

AI-generated description

Sol Lewitt repro

MIT Licensed

Similar vizzes