Dash Addition 

Had the problem of the stats loading faster than the script, so when I went to call window.createVisualization() an error was thrown due to the function being undefined.