Skip to main content
100%

D3 starter

✓ Published5🌍 Public
PPetrescu Alexandru
Last edited Sep 2, 2023
Created on Aug 31, 2023
Forked from HTML Starter

This example uses the D3.js library (v7.8.5) to generate a grid of rectangles. The visualization shows two sets of alternating horizontal and vertical bars overlaying the canvas, with the vertical set applied through an SVG mask. The mask is created dynamically by rendering all available D3 symbol paths (stars, triangles, etc.) as fill regions. The horizontal bars are drawn first, then masked by the symbol shapes, while the vertical bars remain unmasked, creating an intersecting pattern across the full window dimensions.

AI-generated description

Learning

MIT Licensed

Similar vizzes