D3: Filtering selections based on slider input values