{"version":"1.0","type":"rich","title":"Shapes with SVG and CSS","description":"This example displays an SVG canvas that fills the viewport and is styled with a red background using D3’s selection and `style` method. It demonstrates basic shape rendering within a React framework, leveraging D3 v5 to select the SVG element and apply CSS-based styling. The page includes a stylesheet with a `.highlighted` class that turns text red, though no shapes or data are actually drawn—only the empty SVG container and its background color change are shown. The code uses `d3.select` and raw SVG elements.","provider_name":"VizHub AI Studio","provider_url":"https://vizhub.com","html":"<iframe src=\"https://vizhub.com/viz/c1db490f22ed41d2a1feaa06f13bbe90?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"0\"></iframe>","width":960,"height":500,"cache_age":3600}