Create visualization from client portal based on custom filter criteria

Thank you so much for your response Tyler.

If i am using share feature for the visualization already created in Kibana and sharing it using iFrame then is it possible to apply elastic query results based on user filtering to the visualization already created?

Or if i am using dynamic visualization created using java api is it possible to apply custom search results and show it in client portal.

Edit 1 : can you give any pointers or references ? Documents related to it

Thanks