Interested in utilizing the d3.js timeknots component, a svg visualization that includes line and circle elements. My goal is to implement a stopwatch animation that dynamically changes the color of the svg visualization over time.
I am contemplating creating a duplicate version of the visualization with different colors, overlaying it on the original and manipulating the clipping of the colored copy incrementally. I am open to suggestions on whether this method is optimal or if there are alternative approaches available.