通过 `hconcat` 和 `layer` 使用不同的图表编码进行交叉过滤

cross-filtering with different chart encodings via `hconcat` and `layer`

我正在尝试调整 cross-filter example from the gallary to have an additional chart that is not a numeric value, e.g., origin from the flights data set in the same example。然而,在我将 transform 移动到 hconcat 图层后,选择变得相当奇怪——打开一个新图表而不是就地更新。我也不确定图表中的选择是如何构成的,因为现在还有另一个层次的构成(hconcat 除了 repeat 分层)。

Open the Chart in the Vega Editor

感谢您的帮助!

我在这里可以通过 ping Arvind 获得答案:

Open the Chart in the Vega Editor

我的错误是重复超出了规范,但它应该在 hconcat 规范之内。此外,次要正确的是:间隔选择确实适用于标称轴。