Skip to main content
100%

Data Visualisation with D3 - Sol LeWitt

✓ Published1🌍 Public
Vvivienho22
Last edited Aug 31, 2022
Created on Aug 31, 2022

This example reproduces a Sol LeWitt wall drawing as a generative visualization. Using plain JavaScript and the SVG DOM API, it creates 100 vertical rectangular stripes that span the full height of the browser window, each with a fixed width of 10 pixels and spaced 20 pixels apart. The code dynamically appends SVG `<rect>` elements to a full-screen SVG canvas, with dimensions set to the viewport’s inner width and height. The result is a minimalist, repeating pattern that mirrors LeWitt’s instructional art, rendered entirely through `document.createElementNS` and `setAttribute` calls without external libraries.

AI-generated description

Sol Lewitt Reproduction [Sol LeWitt Art Piece] (https://en.wikipedia.org/wiki/Sol_LeWitt)

<!-- this is how you create URLs -->
MIT Licensed

Similar vizzes