Object not found

Without seeing what MBA_Online() is, it is very hard to say what the problem is. Can you make a reproducible example out of your code? I suggest you get the plotting to work outside of shiny first and then move it into shiny.