Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Data Visualisation with D3 - Sol LeWitt

Public visualization

Viewing a saved revision (read-only)

85397b93b4df442aa83ff0f2140c6026

Data Visualisation with D3 - Sol LeWitt

0 stars1🌍 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 -->