This is just a throw, I&#x27;ve not tried. But Bokeh creates Canvas. There is a Canvas 2 SVG <a href="https:&#x2F;&#x2F;github.com&#x2F;gliffy&#x2F;canvas2svg" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gliffy&#x2F;canvas2svg</a>  JavaScript library already made.