-
Moved question by Mai74D Hi Mr. Jeffrey Heer, I'm currently working at Aufinia Company, and we're very interested in using the Mosaic framework for our project. We have a quick question: However, in our case, we’d like to use the shared key only for linking the charts together, without needing to show it visually on either chart. Is it possible to enable cross-filtering in Mosaic using a hidden or non-displayed key? Thank you in advance for your help — we really appreciate the work you're doing with Mosaic! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Moved answer by @jheer You can specify which column you want a 1D interval interactor (like intervalX) to filter by setting the field option to the desired column name. When unspecified, it defaults to the field(s) backing the current corresponding encoding channels (like x or y). For intervalXY you can instead use the xfield and yfield options. Feel free to provide a more detailed example if you need more help. |
Beta Was this translation helpful? Give feedback.
-
I’m now using the "field" option to add a column as a key for filtering. I can filter now, but only when the X-axis value has the same type as the key. I'm wondering if there's a way to perform filtering only based on the linking column, without filtering based on the values of the column currently being displayed. As shown in the image below, When I filter the user table, it also filters the supplier table. Currently, the values I defined are:
|
Beta Was this translation helpful? Give feedback.
Moved answer by @jheer
You can specify which column you want a 1D interval interactor (like intervalX) to filter by setting the field option to the desired column name. When unspecified, it defaults to the field(s) backing the current corresponding encoding channels (like x or y). For intervalXY you can instead use the xfield and yfield options.
Feel free to provide a more detailed example if you need more help.