Shapes with SVG and CSS
This example demonstrates basic SVG shapes—a circle and an empty rectangle—positioned within a 960x500 viewport, with the SVG element's background colored red via D3's selection and style methods. It uses D3 version 6 to select the SVG and apply CSS styling, while the shape styling is handled through linked CSS. The page shows how to integrate D3 with raw SVG markup and external stylesheets, rendering static vector graphics without data binding or interactivity.