Question

I would like to filter my data based on the input in a textbox. Is this possible? Something like this but with crossfilter.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top