When To Use Canvas Vs Svg. A better use-case for Canvas is the display of dynamic information such as interactive graphs and image analysis. 4 At first glance SVG seems like a strong contender.
Canvas gives better performance with smaller surface or larger number of objects. One extremely basic way to answer it is use canvas when you cannot use svg where cannot might mean animating thousands of objects manipulating each pixel individually etc. Modified through script only.
The distinction between immediate and retained mode points to HTML5 Canvas as being the undisputed winner when it comes to building things like graphic-intensive games and to SVG as being preferable for things like flat images icons and UI.
Essentially it is a tag that creates a blank surface for drawing. Canvas diagram can be saved to PNG or JPG format. You can specify the renderer parameter as canvas or svg while initializing a chart. In my view there arent any hard and fast rules for when its best to use Canvas instead of SVG.