LeWitt Art With Triangle in D3
✓ Published1🌍 Public
This example reproduces a Sol LeWitt-inspired piece using D3 v7, rendering an SVG that fills the browser window with a grid of vertical and horizontal black stripes. The stripes are generated from two sets of 100 rectangles, and a large triangle symbol is used as a mask to create the artwork's central geometric cutout. The code uses `d3.select` to append the SVG, `d3.range` to generate the stripe data, and `d3.symbol` with `d3.symbolTriangle` to create the triangle path applied through SVG masks, producing the layered visual effect.
AI-generated descriptiona reproduction of a sol LeWitt art piece.
MIT Licensed