Html Canvas Vs Svg. Choosing the Right Tool for the Job. Moreover you can attach an event handlers to a SVG element or update its properties based on another document event.
Canvas gives better performance with smaller surface or larger number of objects. In comparison Canvas was raw and pixel-based. SVG gives better performance with smaller number of objects or larger surface.
In comparison Canvas was raw and pixel-based.