Refresh query on every new entry in database and instant response on my plot

Hi @rj2102, welcome to community!

Could you kindly rewrite your post a bit to be more of a reproducible example? Here's a quick post on when and how: FAQ: What's a reproducible example (`reprex`) and how do I do one?

I think it'll improve your chances of finding help with this issue.