What is the difference between SVG and HTML5 Canvas?
- SVG is vector based and composed of shapes whereas Canvas is raster based and composed of pixel.
- Canvas gives better performance with larger number of objects whereas SVG gives better performance with smaller number of objects.