basic-crossfilter: Group charts by type.