Skip to main content
100%

Full Sol LeWitt Reproduction with D3

✓ Published0🌍 Public
MMatheesha Yapa
Last edited Jun 27, 2023
Created on Jun 27, 2023

The example reproduces a Sol LeWitt–style composition using D3 and SVG, where 100 horizontal bars are layered over full-screen masks to create geometric patterns. It renders data generated from `d3.range(n)`, applying mask IDs via `selection.call(renderMask, ...)`. The masks use `d3.symbol` with symbol types from `symbols` to draw white shapes on black or inverted backgrounds, demonstrating D3 v7’s join and selection methods. The SVG output adapts to the viewport dimensions, with no external data source.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes