From a discussion with Thomas, there was an idea to propagate the filter aesthetic that is found in the ggforce package to geoms in ggplot2. In ggforce, the filtering step is applied after the stat is computed in the Geom$setup_data() step, see e.g. here. We can consider making this a separate method so it will propagate to all extensions as well.