I should be pretty easy to set this up with Dash by plotly, and you can host in various places.
Here a guide we've written for an app where you can drag and drop a file and get a chart from it.
https://kyso.io/KyleOS/creating-an-interactive-application-u...
But you can extend to take an SQL query or maybe to set up an external api call.