Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Chapter 3 - D3 - uso clases

Public visualization

Fork of Chapter 3 - D3 - uso clases

0 stars1🌍 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

Comments

Sign in to join the discussion.

MIT Licensed