You can also include JavaScript in SVG. That is used e.g. by the flamegraphs generated with Brendan Gregg’s Flamegraph.pl script. Consequently, when you open them in a classic image viewer, they’re static, but when you open them in a web browser, they’re interactive. I don’t think Inkscape supports JavaScript.