I was looking into encoding and SVG then using data:image/svg+xml;base64,ENCODED SVG. When I wondered if I could use a data URI for JavaScript or HTML code (not just data:text/html because my html uses JS to produce an image)
I have done quite a bit of research, but data:text/html is all I have come close to figuring this out.
I appreciate any and all help you can provide!