Skip to main content
100%

Fork of D3 Starter

✓ Published1🌍 Public
YYiorgos Bagakis
Last edited Oct 22, 2022
Created on Oct 22, 2022
Forked from D3 Starter

This example generates a grid of horizontal and vertical stripes that intersect to create a geometric pattern. It uses SVG masks with circles to reveal or hide different sections of the stripes, producing a composition reminiscent of Sol LeWitt’s wall drawings. The code leverages D3 v7 selection methods, including `select`, `append`, and `join`, along with `range` to create 100 rectangles for each direction. The visualization is fully responsive, sized to the browser window, and includes hover effects that change the fill color to magenta.

AI-generated description

Creating Sol LeWitt Art with SVG and D3. Get it As seen in Right in Black & White Episode 4

MIT Licensed

Similar vizzes