Visuals DOM elements in Studio

I ran into this same issue at the very beginning. We usually use Studio mainly as a mock-up tool: We create a dashboard with some visuals depending on the subject and then we publish that as a standalone web application.

We have simplified the process of moving from studio to the web app a little bit, by having some templates that we re-use, but we still need to copy the code from each visualization and then plug them into the DOM element and then adjusts sizes.

Is there a way to simplify this even more? Don’t get me wrong, is easy enough, and what may take a day or two just take barely a couple of hours, but just wondering.