Skip to main content
100%

so lewit reproduction using D3.js inbuilt shape 3

✓ Published1🌍 Public
Ddeebanks77
Last edited Nov 23, 2022
Created on Nov 23, 2022

This example reproduces a Sol LeWitt-inspired geometric composition using D3.js v7. It layers two sets of thin rectangles—one horizontal, one vertical—across the full viewport, creating a grid-like pattern. Two SVG masks, each containing a D3 symbol (a cross), selectively reveal or hide portions of the rects by applying alternating black and white fills. The code uses `d3.range` to generate data, `d3.symbol` with `symbolCross`, and `d3.select` to append elements and masks.

AI-generated description

Sunrise/sunset.

MIT Licensed

Similar vizzes