Skip to main content
100%

Sol Lewitt reproduction

✓ Published0🌍 Public
Aaaron.00366@gmail.com
Last edited Sep 3, 2025
Created on Sep 3, 2025
Forked from SVG Fundamentals

This example demonstrates the foundational construction of SVG graphics through JavaScript. It shows a single blue square rendered on an HTML page, created programmatically using the Document Object Model (DOM) API. The code first creates an SVG element with specified dimensions and a border, then appends a rectangle with set coordinates, size, and fill color using `createElementNS` and `setAttribute` methods. The example serves as a basic introduction to the SVG library's core functionality for positioning and styling shapes.

AI-generated description
MIT Licensed

Similar vizzes