Skip to main content
100%

Fork of Fork of D3 Starter

✓ Published1🌍 Public
HHaritscode
Last edited Aug 5, 2023
Created on Aug 5, 2023
Forked from Fork of D3 Starter

This example creates a black-on-white striped pattern using 100 horizontal and vertical rectangles, with the stripes clipped by two D3 SVG masks. The masks are defined with a central symbol glyph (drawn via `d3.symbol`) surrounded by concentric ring symbols, where one mask uses a white glyph on a black background and the other inverts the colors. The clipped stripe grid reveals the layered symbol composition and demonstrates D3’s `selectAll`, `join`, and `range` API for generating repeated elements.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes