🔗 Unlisted
Viewing a saved revision (read-only)
f5c648f1823a438b824cdd86bc28623d
Fork of HTML Starter J
This example generates a simple SVG scene of 100 vertical rectangles using the SVG `rect` element. Each rectangle is placed at a fixed horizontal interval of 20 pixels and spans the full 500-pixel height. The code creates a scalable vector graphic with a width of 960 by 500 pixels, using the Document.createElementNS method to construct SVG nodes. The visualization demonstrates programmatic shape generation without any data source or user interaction.
AI-generated description