Fork of HTML Starter J
• Draft1🔗 Unlisted
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.
MIT Licensed