Update color in D3 timeline.