-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Facet plot #1068
Comments
Current proposal is to construct this functionality in two main stages: Step 1
|
@JosephBond Wondering if we need to modify
|
Step 2
Note: Re-evaluating fluid programs interactively dove-tails with the planned next steps of #1040, since we need to examine how we do this. In my mind we will eventually want the backquote mechanism (and future synthesis of explanatory expressions) to be operate similarly to Faceting, (perhaps an interface like Github issues, with a preview tab showing the view you get from running the code. |
@rolyp I think a dict makes more sense, with each faceted parameter being a key in the dict, then instead of setting variable names we could use the syntax for accessing dicts. Unfortunately, we have no special surface syntax for working with dicts. For a contrived example, faceting a line-chart for a time series by a range of years, where In other words, it works but we'd probably want to add syntax for it at a later date. I'm still uncertain how we would then change the value of the variable |
Spitballing here (erring on the side of over-simplification rather than over-complication!), but perhaps
Here the “grid” isn’t explicit but rather just implicit in the various values of The naive repeated filtering here would be expensive, so some kind See also: |
Thinking of
I think the question about interaction and what it might suggest in terms of more granular or demand-driven execution models is probably a distraction at this stage. Call-by-value programs in general do more work than strictly necessary, and this would just be another example of that – not fundamentally different from computing a list of 1,000 elements but only returning the first 10 elements to the user, or (as a more interactive example closer to the intuition you have in mind) presenting a view of the 1,000 records where only a window of 10 records is visible at any point in time (perhaps through a scrollable viewport). |
@JosephBond Bumping this to Planned too as I think it is pretty close to what we want for an initial multiverse implementation, with nested facet plots allowing for a branching multiverse. |
A kind of composite plot which consists of a list of parameter values and for each value of the parameter, another kind of visualisation instantiated with that parameter value. For example, given a list of sources of methane emissions [Agriculture, Energy Sector, Forest Burning], a line chart plotting historical and projected methane emissions. The facet would support tabular layout of the individual subplots, but also a carousel-like interface which allows tabbing between a “current” subplot.
See also:
BarChart
andLineChart
#999The text was updated successfully, but these errors were encountered: