Is there any way to read dynamic parameters for queries instead of hardcoding them and displaying a single type of chart without any filters?

You’re describing Query Parameters.