D3: Filtering a selection, based on data