While choosing a charting library for my react application, one of the criteria that I am evaluating is whether the library works with canvas or svg internally. Apart from the various other factors like ease of use, developer convenience, flexibility, learning curve, I am also trying to evaluate the SEO benefits of using one vs other.
Practically speaking, should data visualizations be considered for SEO at all, or should we have some alternative representation for SEO?
If data visualizations should be a candidate for SEO, do search engine recognize and index svg elements? I know that google indexes svg images, but couldn't find any information about svg elements is general. Another thing that I kinda understand is svg elements are part of the DOM, so the text they contain can still be indexed as compared to canvas, which is devoid of any semantics.
Any pointers would be helpful.