Learning SVG Fundamentals
This example demonstrates fundamental SVG shapes by placing colored circles, a rectangle, and a diagonal line on a 960×500 canvas. The code uses raw SVG markup with inline attributes for positioning and styling, including `cx`, `cy`, `r`, `fill`, `stroke`, `x`, `y`, `width`, and `height`. A navy-stroked circle overlaid on a red-filled circle illustrates how stroke and fill interact, while the rectangle and line show coordinate-based geometry. The rendering relies entirely on native SVG elements without JavaScript libraries or external data.