Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

my take of Sol LeWitt Reproduction with D3

Public visualization

Viewing a saved revision (read-only)

45ec2380d3884679bb2de195abd2b8ec

my take of Sol LeWitt Reproduction with D3

0 stars1🌍 Public
SSami Kauhanen-Duac
Last edited Jul 22, 2022
Created on Jul 22, 2022

This example recreates a Sol LeWitt-inspired geometric composition using D3’s `select`, `range`, `symbol`, and `symbols` APIs. It displays a grid of horizontal and vertical rectangles, with two overlapping SVG masks that reveal or hide areas based on inverted symbol shapes. The code generates 100 stripes in each direction, then applies masks built from D3’s predefined symbol paths (circles, crosses, diamonds, etc.) positioned across the canvas. All rendering is done with SVG within an HTML page, using D3 v6.6.1 from a package dependency.

AI-generated description

A reproduction of a Sol LeWitt art piece.