Please let me know if my understanding is correct.

Step1: Trigger the data resource on page ready and store the object output into the client state parameters using the client script.

Step2: Using the client state parameter value in the data visualization
Below is the snapshot:
Step 1:

Hari1_0-1737199596535.pngHari1_1-1737199631856.png

Client Script:

Hari1_2-1737199702232.png

Calling the client parameter value in the data visualization

Hari1_3-1737199761960.png

It is still taking 18~20 minutes to load using this approach. Please let me know if this the approach that you were explaining.

I believe that the code in the data resource is taking long time due to the data pull through queries passed.