Substitute of Canvas element to improve time complexity

I need to render a table like
image
in output, but the data for each cell is being retrieved by a different query, so as of now I used canvas element and aligned that in a format where it looks like a table but the time complexity is very high when we load the page plus it gets all misaligned if we resize the browser window, what could be a good alternative for this.