Significant plotly graph load slow down from local to deployed instance

I’d recommend to start by profiling the code to find the exact lines of code that are slower. Here’s a great guide on profiling: Performance Profiling Dash apps with Werkzeug