https://devhubby.com/thread/how-to-group-and-filter-using-crossfilter-in-d3-js