This is a great intention. Let the browser solve the issues that already have solutions. Well done.
This is a great intention. Let the browser solve the issues that already have solutions. Well done.
This might be fine for very small graphs but canvas is better in general.
That said, I was also surprised by the assertion "use the wrong technologies for illustration (canvas)". It takes a lot more work, but canvas based charts can be made to be responsive, interactive and accessible[2][3].
[1] - CSS-tricks article on SVG and accessibility - https://css-tricks.com/accessible-svgs/
[2] - I outlined how someone could build a charting library based on my JS canvas library in a couple of lessons starting here - https://scrawl-v8.rikweb.org.uk/learn/eighth-lesson/
[3] - The final result from the above lessons can be seen here - https://codepen.io/kaliedarik/project/editor/AMVKPx - suggested improvements to the lessons, and the UX of the result, are always welcome.