SVG Fundamentals
✓ Published0🌍 Public
This example demonstrates a single red circle positioned on a blank SVG canvas, illustrating the fundamental building blocks of vector graphics. The code creates an SVG element with a width of 960 pixels, then places a circle at coordinates (150, 50) with a radius of 50. It uses the native SVG API for drawing, with inline attributes for the circle's position, size, and fill color. The example shows how basic shapes are defined declaratively within an HTML document.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed