I would like to filter my data based on the input in a textbox. Is this possible? Something like this but with crossfilter.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Certainly possible with crossfilter
, just create dimension
objects from your raw data and then apply a filter by the input of the text box.
myDimension.filter(valueFromBox); // selects values who equal the value in the text box
Check out the API docs here.