Construct a JavaScript filter for a given dimension
1 | druid.filter.javascript(dimension, predicate)
|
dimension |
dimension to match |
predicate |
Javascript predicate function used to filter the dimension |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.