I have created a custom funnel plugin with the help of d3 libraries. Like the "Vertical Bar Chart" per-built in plugin I would like to create global filters on click action of a specific row of the funnel plugin I have created. I am not able to find how the filters are being applied for the Vertical Bar Chart plugin.
As you can see if I click on any of the split up rows from the Vertical Bar it creates a global filter and applies it to the data.
I would like to know how I can create that as well with my custom plugin.