SVG fundamentals
✓ Published0🌍 Public
This example demonstrates two basic SVG shapes, a red circle and a navy line, positioned within an SVG canvas. The circle has a radius of 50 pixels and is placed at coordinates (50,50), while the line spans from the origin (0,0) to (100,100) with a stroke width of 4 pixels. The rendering uses the SVG element directly in an HTML document, with shape properties (like `cx`, `cy`, `r`, `fill`, `x1`, `y1`, `x2`, `y2`, `stroke`, and `stroke-width`) specified as attributes. The code is authored by Ianad and is a static illustration with no interactivity or data source.
AI-generated descriptionA demonstration of SVG shapes
MIT Licensed