run on every rerender of document.body, the site is an SPA and so it's hard to know what's stable. Not spending more time to "optimize" this app for the occasional glance at some graphs! (in a perfect world, the better solution is to listen & rerun on SPA route changes)