This page is an example of HTML/JS interacting with the lstopo SVG output.

Load a SVG that was exported with lstopo's native SVG backend (e.g. with lstopo --of nativesvg foo.svg):