Skip to main content
100%

SolLeWit using D3 without Notes

✓ Published0🌍 Public
JJun Alvarado
Last edited Aug 17, 2022
Created on Aug 17, 2022

This visualization creates a geometric interplay of horizontal and vertical bars that reveal a diamond-shaped symbol through the use of SVG masks. The code uses D3 v7 to generate bar rectangles across the full screen, then applies two complementary masks—one black background with a white symbol and one inverted—to selectively show or hide different bar segments. The masks are defined using D3’s `symbol` generator with the `symbols[1]` diamond shape, rendering the final pattern without explicit notes or annotations.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

Notes M = moveto L = lineto H = horizontal lineto V = vertical lineto C = curveto S = smooth curveto Q = quadratic Bezier curve T = smooth quadratic Bezier curve A = elliptical Arc Z = closepath

MIT Licensed

Similar vizzes