Canvas vs SVG
Canvas is a raster API — you draw pixels and cannot interact with individual shapes. SVG is vector-based with a DOM, making shapes individually accessible and scalable.
Choose based on your use case: Canvas for games and pixel art, SVG for illustrations and charts.