Sol LeWitt with D3
✓ Published0🌍 Public
This example renders a minimalist, generative composition inspired by Sol LeWitt using D3.js. It draws one hundred horizontal rectangles stacked vertically, each with a fixed height and dynamic width, all clipped by a circular mask. The SVG output uses a black background rectangle inside the mask to reveal the bars only within the circle’s bounds. The code relies on D3’s `select`, `range`, and `join` methods to create the rectangles, demonstrating a simple data-driven approach to geometric art.
AI-generated descriptionMIT Licensed