Skip to main content
100%

D3-Sol-LeWitt

✓ Published1🌍 Public
AAbdulafeez-okewunmi
Last edited Jun 1, 2023
Created on May 30, 2023
Forked from SVG fundamentals

This example pays homage to Sol LeWitt by using D3.js to generate a grid of horizontal and vertical rectangles, which are only visible within the intersection of two circular masks. The visualization renders 100 stripes in each direction, with the SVG `mask` elements defining a central circle that reveals the grid against a contrasting background. The code uses D3’s `select` and `range` to create the rectangles and applies the masks for a layered, geometric effect.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes