Let's first look at the SVG benefits:
- SVG is a vector-based graphics system. It allows resolution independent drawings you can scale without affecting quality.
- You can easily access elements in the DOM to move, change, or add interactivity.
- You can style with CSS.
- D3 works closely with the DOM, allowing for concise operations such as element selection and styling in a single pass and declarative animations with SVG.
- SVG is accessible to screen-readers and SEO bots out of the box. Canvas requires fallback text or a sub-DOM to provide some level of accessibility.