Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
IIvan Sergio Lopez
Last edited Jan 19, 2024
Created on Jan 18, 2024
Forked from HTML Starter

This example demonstrates a full-screen SVG visualization composed of 100 horizontal rectangles, each 10 pixels tall. The rectangles are rendered as uniform stripes that collectively fill the entire browser viewport. The visualization applies a circular mask to every rectangle, creating a repeating pattern of clipped shapes. The code uses D3 v6's `d3.select` and `.join` APIs to efficiently bind array data to SVG elements, with `d3.range(n)` generating the sequence of y-positions.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes