Skip to main content
100%

Fork of Refactor of Sol LeWitt Reproduction with D3 - Different shape

✓ Published0🌍 Public
KKhanin Sisaengsuwanchai
Last edited May 16, 2023
Created on May 16, 2023

This example reproduces a Sol LeWitt-style geometric drawing with a novel shape, using overlapping horizontal and vertical bars of varying blue shades. The composition is created with D3’s `select`, `range`, and `join` operations to generate SVG `rect` elements, while two SVG masks (`mask-1` and `mask-2`) apply contrasting black and white paths derived from D3’s `symbols` and `symbol` APIs to reveal the final pattern. The color palette is produced with `scaleSequential` and `interpolateBlues`, and the rendering is pure SVG.

AI-generated description

An apporoximation of Javascript visualization using D3

MIT Licensed

Similar vizzes