Skip to main content
100%

Fork of Sol LeWitt Reproduction with D3 - reference

✓ Published0🌍 Public
FFelicity Wu
Last edited Nov 12, 2023
Created on Nov 12, 2023

This example reproduces a Sol LeWitt art piece using D3 v6. It renders two sets of translucent black-and-white striped rectangles overlaid with masks, creating a grid of alternating symbols. The code uses `d3.select`, `d3.range`, `d3.symbol`, `d3.symbols`, `d3.scaleBand`, and SVG masks. Each mask layers vertically and horizontally offset rectangles with D3 symbol paths, alternating white and black fills to generate overlapping geometric patterns. The page fills the browser window with 120 stripes per axis, using inlined SVG without external data.

AI-generated description

A reproduction of a Sol LeWitt art piece.

MIT Licensed

Similar vizzes