Skip to main content
100%

d3 tutorial code camp

✓ Published0🌍 Public
Aaissatheprogrammer
Last edited Nov 26, 2022
Created on Nov 22, 2022
Forked from HTML Starter

This example generates a pattern of horizontal and vertical bars overlaid with two circular masks, revealing a cross-hatched grid within a circular window. The visualization uses D3 v6 to create SVG rectangles and mask elements, with `select` and `range` from the d3 library. Data is generated programmatically with a loop for horizontal bars and `range` for vertical bars, while masks combine white and black shapes to control visibility. The result demonstrates how SVG masks can create layered geometric compositions.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes