Fork of Episode 4: Sol LeWitt Reproduction with D3
✓ Published0🌍 Public
CCurran Kelleher
Last edited May 14, 2021
Created on May 14, 2021
Forked from Episode 4: Sol LeWitt Reproduction with D3
This example recreates a Sol LeWitt-style geometric drawing using SVG masks to reveal distinct line patterns in four quadrants. The code uses D3 selections and `range(n)` to generate 100 horizontal, vertical, and diagonally rotated rectangles, each clipped by a rectangular mask. The `select` and `append` methods build the SVG canvas and mask elements, while `join` binds data to create the rects. The result demonstrates how D3 v3 and SVG masking can compose layered linear compositions.
AI-generated descriptionA response to a question in the VizHub Forum.
MIT Licensed