Using SVG

Circle Rect

SVG elements are controllable and scalable

Pick a color: #ff0000

Set a value:

SVG:

Circle:

Rect:


Ref: Eloquent JavaScript, Chap 17