The examples look fantastic for pan/zoom of inline SVG at:
https://github.com/ariutta/svg-pan-zoom
I'm trying to figure out how to zoom inline SVG only in the horizontal, while leaving the vertical axis static.
Currently there is no way to zoom only on one axis. You can see this thread for the discussions about that. There is a link to an attempt to implement that, but I don't know what's its status.