Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol Lewitt Reproduction with d3

Public visualization

Viewing a saved revision (read-only)

d828e28360aa4e4b84378b2f8f26ded1

Fork of Sol Lewitt Reproduction with d3

0 stars1🌍 Public
VVincent Leduc
Last edited Aug 10, 2023
Created on Aug 10, 2023

This example reproduces a Sol LeWitt wall drawing using D3 v7, generating a grid of horizontal and vertical stripes overlaid with a circular mask. The SVG rendering shows a black-and-white composition where two perpendicular striped layers intersect, with a central circle revealing horizontal bands while the outer area displays both orientations. The code uses `d3.select`, `d3.range`, and `join` to create rectangles, and applies SVG `<mask>` elements with circles to control which stripes appear in each region, with the circle radius derived from a fixed pixel step.

AI-generated description

Sol Lewitt art piece.