Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Following Along Sol LeWitt D3

Public visualization

Viewing a saved revision (read-only)

1dcfbfad8f814e189163626e791dec94

Fork of Following Along Sol LeWitt D3

0 stars1🌍 Public
PParker-D5
Last edited Sep 25, 2023
Created on Sep 25, 2023

This example generates an abstract geometric composition inspired by Sol LeWitt using D3 v6. It renders two sets of overlapping striped rectangles—horizontal and vertical—that intersect to create a grid pattern. Two SVG masks define a central circular region where the horizontal stripes remain visible while the vertical stripes are hidden, producing a contrasting visual effect. The code uses `d3.select`, `d3.range`, and `join` to bind data to SVG `<rect>` elements, with mask attributes controlling visibility.

AI-generated description

Following along the demonstration of Sol LeWitt.