🌍 Public
Viewing a saved revision (read-only)
892e195a73564e8d9bc609e818adf5ce
Lesson4:Sol LeWitt Reproduction with D3
This example reproduces a Sol LeWitt art piece as an interactive SVG visualization. It renders a grid of horizontal and vertical bands that are masked by circular shapes, creating a dynamic geometric pattern. The code uses D3's `select` and `append` methods to build the SVG element and its components. It leverages the `mask` attribute with defined `circle-mask` and `circle-mask-2` elements to selectively reveal or hide the lines. The visualization is generated entirely through procedural code, with no external data source, and displays its pattern across the full browser window.
AI-generated descriptionA reproduction of a Sol LeWitt art piece.