Full Sol LeWitt con D3
✓ Published2🌍 Public
SSergio
Last edited Sep 5, 2025
Created on Sep 3, 2025
Forked from Fork of Fork of Chapter 3 - D3 - uso de group
This example renders a grid of horizontal and vertical rectangles using D3’s `select`, `range`, and `join`. Two SVG masks, created via `append('mask')` and `attr('id')`, cut a diamond-shaped hole in the grid, with one mask inverted to show contrasting fill. The code uses `symbol` and `symbols[3]` to draw the diamond path, and `svg.call` to apply masks. It runs at full browser size with no external data, relying on D3 v6.6.1 and SVG rendering.
AI-generated descriptionMIT Licensed