🔗 Unlisted
Viewing a saved revision (read-only)
6900d53e66ba4cc89b1a86e32e5c1326
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 descriptionA demonstration of SVG.