Skip to main content
100%

Sol Lewitt Reproduction with D3

✓ Published1🌍 Public
GGullyPlook
Last edited Sep 14, 2023
Created on Sep 14, 2023

This example reproduces a Sol LeWitt-inspired drawing using D3 to generate a grid of horizontal and vertical rectangles. It shows two sets of 100 thin bars, one stacked vertically and one horizontally, which intersect to form a fine lattice across the full browser window. The code uses SVG masks with `d3.select` and `range` to reveal a central 200-pixel-radius circle where one set of bars appears white on black, while the other appears black on white, creating a contrast inversion. The visualization is rendered with SVG elements created via `append` and `join` within the D3 v7 library.

AI-generated description

[Sol Lewitt] Reproduction with D3 (https://en.wikipedia.org/wiki/Sol_LeWitt)

MIT Licensed

Similar vizzes