Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Sol Lewitt, Now d3

Public visualization

Viewing a saved revision (read-only)

f8bb6294ea574cf992488cdbd0a5d3e1

Fork of Sol Lewitt, Now d3

0 stars1🌍 Public
JJoel Wilson
Last edited Nov 7, 2024
Created on Nov 7, 2024
Forked from Fork of Starter

This example reproduces Sol Lewitt’s geometric wall drawing using D3.js, creating a grid of vertical and horizontal bars on an SVG canvas. It visualizes the interaction of two perpendicular bar sets, where a circular mask reveals or hides portions of each set to produce overlapping patterns. The code employs D3’s selection and range functions to generate bars, and SVG mask elements to apply contrasting circular cutouts. The composition shifts between shown and hidden bar segments, echoing Lewitt’s algorithmic art. The rendering fills the browser window, with bar placement calculated from screen dimensions.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.