Fork of SVG Fundamentals
✓ Published1🌍 Public
This example demonstrates a full-screen display of 100 vertical rectangles, each 10 pixels wide and spaced 20 pixels apart, spanning the entire height of the browser window. The SVG is created entirely through JavaScript using the `document.createElementNS` method with the SVG namespace, appending each rectangle directly to an `<svg>` element sized to match the window's inner width and height. No data source is used; the visualization is purely algorithmic, showing how to generate SVG shapes programmatically without any external libraries.
AI-generated descriptionA demonstration of SVG shapes.
MIT Licensed