Compute object sets / data from multiple scenario variables

We are planning a workflow where people would like to compare multiple (N) scenarios against each other in a custom vega chart, or other widgets.
Typically, those scenarios are viewed together with real data outside scenarios.

The expectation is that each scenario may result in a series in the graph. Hence, my thought was if we can have the scenario variables in functions on objects to be able to iterate through them.

I really like the option of computing vega charts completely in functions. Right now, I dont have any idea though, how to use scenarios in functions.

Also, we are highly interested in custom scenario comparison. My users want to see a condensated view on what was changed in a scenario. Typically, actions are applied to scenarios which edit a lot of properties at once. Most of the times only a few values are changed, and I would like to compute which values where exactly changed. Any idea on how to do this gracefully? Can one maybe unpack scenario variables in any way?