Many plots use categorical data (direction of effect, tissue or gene type, etc). It would be useful if legend items directly allowed the user to trigger filters within the plot: "show only items that match this point". Clicking should set the item as selected, and clearing should reset to the default filters on the plot.
Needs:
Design filter syntax that can integrate with legends.
Allow legends with a lot of items to scroll vertically for overflow (optional)
Add "select" and "deselect" behaviors to legend items, to display filter status as active (possible text muted behaviors as well)
Build a demonstration of this feature in action (eg intervals)
Many plots use categorical data (direction of effect, tissue or gene type, etc). It would be useful if legend items directly allowed the user to trigger filters within the plot: "show only items that match this point". Clicking should set the item as selected, and clearing should reset to the default filters on the plot.
Needs: