Skip to main content
100%

Sol LeWitt Reproduction - D3

✓ Published1🌍 Public
MMatheesha Yapa
Last edited Jun 27, 2023
Created on Jun 27, 2023

This example reproduces a Sol LeWitt-style geometric drawing using D3 version 7.8.5 in an SVG rendering. It shows a grid of 100 horizontal and vertical lines, with two circular masks creating a central overlap effect: one mask reveals lines through a black rect and white circle, while the other inverts the pattern. The code imports `select` and `range` from D3 to generate the line data, appends rectangles with calculated positions, and applies masks defined as SVG elements to produce the layered visual.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes