@robiul,
According to the code shared by you, it seems like the Chart is being rendered within 20-30 milliseconds. However, the API call & the response seems to be taking 3-5 seconds. Please find the code-snippet showcasing the time taken:
console.time("Chart Render");
chart.render();
console.time("Chart Render");
Kindly take a look at this updated JSfiddle for an example on the same.

—
Adithya Menon
Team CanvasJS