Skip to main content
100%

js start

✓ Published0🌍 Public
Rrautprashant849@gmail.com
Last edited Jan 5, 2024
Created on Jan 4, 2024
Forked from HTML Starter

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 description

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

See also React Starter.

MIT Licensed

Similar vizzes