{"version":"1.0","type":"rich","title":"Shapes with SVG and CSS","description":"This example demonstrates how to combine SVG shapes with CSS styling to create a simple interactive visualization. It shows a red-background SVG canvas with geometric elements styled through custom CSS classes, including highlighted shapes and line properties. The code uses D3 v7 for SVG selection and attribute manipulation, specifically the `d3.select` method to target the SVG element and apply the background color. The visualization includes CSS-defined classes for line styling, such as stroke color and width, and path-specific properties like stroke-linejoin. Built as a React application, the example renders through standard SVG markup within an HTML page.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/e0b781fe61684c8a98bbc48badefb165?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}