Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

D3 Sol LeWitt Reproduction

Public visualization

Viewing a saved revision (read-only)

49595d656afc4d12a98fe96491aea599

D3 Sol LeWitt Reproduction

0 stars1🌍 Public
Mmegan-grannan
Last edited Aug 10, 2023
Created on Aug 10, 2023

This example reproduces Sol LeWitt’s geometric wall drawing using D3 v7. It creates a full-screen SVG and populates it with two sets of 100 thin horizontal and vertical rectangles. Two SVG masks, each containing a central circle, are applied to the respective rectangle groups, making the horizontal lines visible only inside the first circle and the vertical lines visible only inside the second. The `select` and `range` functions from the D3 API are used to construct the SVG elements.

AI-generated description

Reproduction of Sol LeWitt art piece.