Creating the graphs is the slowest part of the app. This is due to the immense overhead that the client takes on by formatting all of that data in a way that it expects. We need to do this with a sql stored procedure or db function, and move what minimal logic that we may need afterwards to the back-end to reduce load times