🌍 Public
Viewing a saved revision (read-only)
f90b01ca147649a2ba807cbe611a94a8
js start
This example reproduces a Sol LeWitt-style drawing using D3 and SVG. It shows a series of horizontal stripes clipped by a circular mask, creating a minimal geometric composition. The code uses D3’s `select` to create the SVG element and `data` joins to bind an array of 100 stripe marks, each rendered as a `rect` with a `mask` attribute referencing the circular clipping path. The mask consists of a black rectangle and a white circle, all defined via raw SVG DOM elements.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.