this iteration converts the code to ES2015 in something like the airbnb style
forked from @alexmacy's block: Updated Crossfilter.js demo
this iteration retains the plot width and table width of the original Crossfilter example at http://square.github.io/crossfilter/
see also this later iteration with improved plot and table widths
This is an updated version of this demo of the crossfilter library. Crossfilter has been one of my favorite - and what I think to be on of the most underrated - JavaScript libraries. It hasn't seen much of any updates in quite a while, so I wanted to find out how it would work with version 4 of d3.js.
There were some issues that came up with how d3-brush has been updated for v4. Big thanks goes to Alastair Dant (@ajdant) for helping to figure out a couple of those issues!
Also worth reading, is this discussion started by Robert Monfera (@monfera).
https://alexmacy.github.io/crossfilter/crossfilter.v1.min.js
https://d3js.org/d3.v4.min.js
https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.23.1/babel.min.js