Posts, a community app by Read.cv

Thread
Tim Ritter

Graph Slider

Christian Tryller
Replying to @timritter

@timritter love it. How'd you make it?

Tim Ritter
Replying to @tryller

Thanks, Christian! Under the hood I've used svg offset-path, offset-distance, and clip-path for the dot/body. The line & number are positioned via a bunch of calculations based on the current dot position. The number animation is from the fantastic @number-flow/react package.