Dynamically building our chart when the page loads