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)

78c46cb14f3948278ffd0f7cf7e74055

Fork of Sol LeWitt Reproduction with D3

0 stars0🌍 Public
Nnim@brejnholt.dk
Last edited Jan 21, 2024
Created on Jan 21, 2024

This example reproduces a Sol LeWitt-style drawing using SVG rect elements generated with d3.selectAll, d3.range, and .join. Horizontal and vertical rectangles are rendered across the full viewport, with two overlapping SVG masks—one showing a white circle on black and the other inverted—creating a circular focal pattern. The code uses D3 v7 selection and data-binding APIs to create 100 rects in each orientation, with the masks revealing and hiding portions of the grid to mimic the geometric interplay of LeWitt’s wall drawings.

AI-generated description

A reproduction of a Sol LeWitt art piece.