Skip to main content
100%

Fork of Chapter 3 - D3 - uso clases

✓ Published1🌍 Public
SSergio
Last edited Sep 3, 2025
Created on Sep 3, 2025

This example creates an abstract Sol LeWitt-inspired drawing using SVG masks. It renders a grid of alternating horizontal and vertical rectangles that are partially revealed through two circular masks, producing an interplay of visible and hidden stripes. The code uses D3's `select`, `range`, and `join` API to generate the rectangles and construct the masks. The visualization is built with a Vue-based D3 version (v3), rendering to SVG, with the masks defined as `mask` elements containing `rect` and `circle` shapes.

AI-generated description
MIT Licensed

Similar vizzes