I am working on creating interactive visualizations for large datasets. The datasets cannot be loaded in the browser due to their size. We're using crossfilter on a node server to load and filter the data serverside. I was wondering if I could somehow couple the server side crossfilter filters with dc.js charts.
I am using d3.js right now to create charts but want to use the various charts that are already there in dc.js. We are basically filtering the data on the serverside and then listening to changes on the chart on the clientside and performing appropriate filtering on the server and communicating via AJAX.
If someone could suggest a way to do incorporate a similar AJAX communication mechanism between the dc.js client and crossfilter server, it would be very helpful.
The coupling between dc.js and crossfilter is not very tight, and this should be possible.
There was a recent conversation about swapping out crossfilter, which is almost the same problem, on the dc.js mailing list:
https://groups.google.com/forum/#!topic/dc-js-user-group/fkRoFHuqg4k
The main functions that you'll need to marshall are group.all
and dimension.filter
. Sorry, I don't know of anyone accessing crossfilter remotely, but I know enough people doing almost this, that I have no doubt it can work.
Here is a related issue: https://github.com/dc-js/dc.js/issues/602
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With