Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol LeWitt Reproduction with D3_test

Public visualization

Viewing a saved revision (read-only)

7420616b329a4f1bb10ee8af7e7385ae

Fork of Sol LeWitt Reproduction with D3_test

0 stars0🌍 Public
Ppawelsapiecha
Last edited Oct 29, 2022
Created on Oct 25, 2022

This example reproduces a Sol LeWitt-inspired geometric artwork using D3.js. It renders a grid of thin, alternating horizontal and vertical lines by combining SVG `rect` elements with two custom masks, creating an intersecting pattern that visually shifts between the two orientations. The JavaScript code uses D3 APIs such as `select`, `range`, `symbol`, `scaleBand`, and the `join` method to generate the 120-line structure. Each mask cycles through symbols from D3’s symbol set to alternate black and white fill, producing the final composed effect. The SVG output is sized to the full browser window.

AI-generated description

A reproduction of a Sol LeWitt art piece.