Svg Fundamentals
This example displays four distinct SVG primitives—a grey circle, a rectangle, a thick polyline, and a diagonal line—on a 600-by-600 canvas. The shapes are constructed directly in HTML using SVG elements (circle, rect, path, and line) without any external data or JavaScript libraries. The rendering relies entirely on SVG’s native coordinate system and attributes like cx, cy, r, x, y, width, height, and stroke to define geometry and styling. A black border outlines the larger rectangle, while the path and line demonstrate basic vector drawing.