🌍 Public
Viewing a saved revision (read-only)
30322bc47b694b34812c4ba23b9f9a46
Fork of Following Along Sol LeWitt D3
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 descriptionFollowing along the demonstration of Sol LeWitt.