SVG Fundamentals
This example demonstrates fundamental SVG graphics by rendering a single red rectangle with a thick black border in a 960x500 viewport. The visualization shows how CSS styling and hover interactions directly control SVG properties, with the rectangle smoothly transitioning to green and a thinner border over three seconds when hovered. The code uses inline CSS within an HTML page, employing the `transition` property and `:hover` pseudo-class to animate SVG element attributes, specifically targeting the `<rect>` element's `fill` and `stroke-width`.