Sol LeWitt Horizontal Circle D3
✓ Published1🌍 Public
This example recreates a Sol LeWitt-inspired drawing using D3.js. It displays a grid of horizontal and vertical bars clipped to reveal a circle in the center. The visualization uses SVG masks to show the horizontal bars inside the circle and the vertical bars outside it. The code uses `d3.select` and `d3.range` to generate 100 rectangles in each direction, with the masks defining the visible regions.
AI-generated descriptionMIT Licensed