Skip to main content
100%

Ep3 using d3 and Sol Lewitt

✓ Published1🌍 Public
Rrashmi.s2055@gmail.com
Last edited Feb 11, 2025
Created on Feb 11, 2025

This visualization generates a grid of horizontal and vertical bars using D3.js, which are clipped by two circular masks to create a layered geometric composition reminiscent of Sol LeWitt’s wall drawings. The front set of bars appears within a central circle, while the background bars are visible outside that circle, achieved through SVG mask elements with contrasting fill colors. The code uses D3's `select`, `range`, and data join APIs to efficiently append and style the rectangles, with the entire layout sized to the browser window via `window.innerWidth` and `window.innerHeight`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes