Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Sol lewitt in d3 after consolidation

Public visualization

Sol lewitt in d3 after consolidation

0 stars0🌍 Public

This example reproduces Sol LeWitt’s geometric wall drawings using D3.js with an SVG rendering. It draws a grid of black horizontal and vertical rectangles, then applies two masks—one normal and one inverted—to selectively reveal or hide parts of the lines. The masks use d3.symbol and d3.symbols to create white or black shape cutouts positioned across the canvas. The code relies on d3.select, d3.range, and d3.join to bind data and construct the SVG elements dynamically.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed