Skip to main content
100%

Shapes and Colors with SVG and CSS

✓ Published0🌍 Public
AAnkush Malik
Last edited Jul 5, 2019
Created on Jul 5, 2019

A static SVG canvas displays a single large yellow circle with a grey outline, centered using explicit width and height attributes. The example demonstrates basic SVG shape creation and CSS styling through a D3.js v5 script that selects the root `svg` element, appends a `circle`, and sets its radius, position, fill, and stroke attributes. The accompanying stylesheet applies a full-bleed layout with no margin or overflow. This minimal composition highlights fundamental vector graphics and presentation techniques in a browser-based visualization.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes