Skip to main content
100%

Fork of Shapes and Colors with SVG and CSS1

✓ Published1🌍 Public
Aanandamayeemodak
Last edited Feb 4, 2021
Created on Feb 4, 2021

This example displays a static SVG canvas filled with a teal background, created by setting the `svg` element’s `style` property to `#41b7bf`. Using D3 v6, the code selects the `<svg>` node and applies the background color via `d3.select`. The page loads D3 from a CDN and includes a minimal CSS file that removes body margins and hides overflow, resulting in a clean, full-viewport visual with no additional shapes or interactive behavior.

AI-generated description
MIT Licensed

Similar vizzes