Skip to main content
100%

LeWitt Reproduction vertical

✓ Published0🌍 Public
Bbindas1
Last edited Nov 26, 2023
Created on Nov 26, 2023
Forked from D3 Starter

This example recreates a Sol LeWitt-inspired drawing using only SVG elements, producing a grid of alternating horizontal and vertical lines that intersect within two circular masks. The code generates 100 horizontal rectangles and 100 vertical rectangles, each 10 pixels thick, and uses two SVG masks—one with a white circle on black and another with a black circle on white—to reveal different line orientations in concentric regions. The visualization is built entirely with native DOM methods like `createElementNS` and `setAttribute`, without relying on D3.js, despite the accompanying `index.js` file importing `select` from D3.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes