Adding Day Filter to Crossfilter
This visualization is a slightly expanded version of the excellent original Crossfilter demo here
The visualization adds four items to the original example:
- Ability to filter on days (for example “Mon, Thu, Fri”) or day types (for example “Weekend”), in addition to the existing dimensions/filters
- A dataset View, that allows all of the 230K records to be viewed in an interactive canvas element below the visualization
- A timer function/object that can be used to determine the performance of various aspects of the the crossfilter operation
- Expanded and more detailed comments, perhaps helpful when trying to understand the original example
Note: added comments and code blocks are marked “BoE”.
To see the visualization in action, go here. The project on Github is here, and Github Gist here