Skip to main content
100%

Sol Lewitt with D3

✓ Published1🌍 Public
TTirth Trivedi
Last edited May 18, 2022
Created on May 18, 2022
Forked from Sol Lewitt diagram

This example recreates a Sol LeWitt-inspired drawing by layering horizontal and vertical stripes within circular masks. The stripes are generated as SVG rectangles using D3's `select` and `range` utilities, with the `join` operator binding data to the DOM. Two SVG masks create contrasting circular windows: one reveals the grid inside a circle, the other creates an inverse ring effect. The visualization adapts to the full browser window, using the viewport dimensions for the canvas size, and renders entirely through SVG elements without a separate data source.

AI-generated description

replica of sol lewitt with svg.

MIT Licensed

Similar vizzes