send update on groupBy for multipleStackedData
use function scoping to avoid variable name clashes in "all visualizations"; pass scales to moving average