I\'m drawing and coloring lines based on data with D3.js and want to update their colors when clicking a button. My question is: how can I call colorP1()
colorP1()