Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

so lewit reproduction using D3.js inbuilt shape 3

Public visualization

Viewing a saved revision (read-only)

b2ee946034054e6584ebec102845107a

so lewit reproduction using D3.js inbuilt shape 3

0 stars1🌍 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.