Skip to main content
100%

Fork of Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
CCharlie-0
Last edited Apr 27, 2021
Created on Apr 27, 2021

This example demonstrates SVG shapes, colors, and CSS styling within a red-background canvas. It uses d3.select to target the SVG element and applies the background color via JavaScript. The page includes a linked stylesheet that hides overflow and removes margins. It forks a previous project, with D3 v5 loaded from a CDN, and includes an embedded YouTube video referencing SVG features.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes