I\'m drawing and coloring lines based on data with D3. I now want to update the color of these lines based on different features in the same data set when clicking on a butt