🌍 Public
Viewing a saved revision (read-only)
e05f2bf0013247deb6395da3f8cdf467
Example D3
This example creates an abstract visual composition by rendering two perpendicular sets of thin rectangular strips. One hundred horizontal bars span the full canvas width, while one hundred vertical bars traverse its height, with the two sets overlapping. Both layers are masked by circular regions that intersect at the center, using the `mask` element to reveal or hide portions of the strips. The code relies on the D3 library’s `select`, `range`, and `join` methods to generate and attach the SVG rectangles, producing a grid-like pattern with a circular cutout effect.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.