how to create a Dynamic SVG line path based on hover interaction.

Hello friends!

I am need to create a svg line path that animates in. along this svg path i have divs the shape of circles. This line path resembles a sine wave except that the amplitudes are flat on top.
I need to find a way that when i hover over one of these circles place along the line path the circle scales bigger while making the line path on the left and right side grow. I feel like this is a terrible explanation so please refer to images.

Any ideas on how to attack this? I am open to any ideas:)
Screenshot_2025-01-01_at_1.26.15_PM.png
Was this page helpful?