Replies: 2 comments
-
You can specify a facet of facet but there may be some bugs (e.g. #2761). |
Beta Was this translation helpful? Give feedback.
0 replies
-
Unfortunately, that bug only considers the simple case of the product of
facets on two different dimensions, rows and columns. Thus they can be
fused. And while the optimization of combining the display axis is nice
(ala Tableau or GGplot), it isn't strictly required.
But what I need is the next level up with say 4 factors. If you have a
given result from say facet(row=f1, column=f2), I need to use that as the
spec I need to facet over with facet(row=f3, column=f4). So you end up with
an array of arrays. GGplot can do this either by using nesting in the
single set of row column labels, or by generating multiple "standalone"
charts that are then composed into the topleve grid.
The only solution I have come up with is to hard code one level of faceting
using hconcat/vconcat to build the inner charts with appropriate hard coded
filters. But it will not be sensitive to changes in the input data factor
values :-(
Thanks,
Jim
…On Mon, Oct 17, 2022 at 5:54 AM Dominik Moritz ***@***.***> wrote:
You can specify a facet of facet but there may be some bugs (e.g. #2761
<#2761>).
—
Reply to this email directly, view it on GitHub
<#8485 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4LRFDEAO2PLK2YYG262JTWDVEBLANCNFSM6AAAAAARGRZWXU>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trying to find a way to map the results from a three factor analysis into a set of nested trellis plots:
F_a = v1, 2D trellis plot of F_b x F_c
F_a = v2, 2D trellis plot of F_b x F_c
...
F_a = vN, 2D trellis plot of F_b x F_c
Sample data, original Version:
Open the Chart in the Vega Editor
Working 2D facet over 1D facet (just trying to get the layout right, not information density). I believe this only works as the "namespace" used in the 1D facet "columns" doesn't directly conflict with the existing row/column definitions.
Open the Chart in the Vega Editor
Multiple attempts at what I need: 1D facet over 2D facet. Nothing seems to work. Any direct use results in name conflicts. So I tried nested forms using a combination of row/column and rows/columns. Generates problematic results. Example:
Open the Chart in the Vega Editor
Moving on to trying to use 1D repeat on 2D facet, but there is apparently no way to provide values taken from the data, rather than hard coded as string constants. Yes, it makes sense for some of its default uses, but I'd still like to be able to dynamically select the field names to use.
Any pointers appreciated,
Jim
Beta Was this translation helpful? Give feedback.
All reactions