(source_group)
| 1 | function remove_empty_bins(source_group) { |
| 2 | return { |
| 3 | all:function () { |
| 4 | return source_group.all().filter(function(d) { |
| 5 | return d.value !== 0; |
| 6 | }); |
| 7 | } |
| 8 | }; |
| 9 | } |
| 10 | function ordinal_filter(bins) { |
| 11 | return function(d) { |
| 12 | return bins.indexOf(d) >=0; |
no test coverage detected
searching dependent graphs…