Animated scatterplot with progressive lines on movement (Python)

#1

Hi all!
I am using the amazing and freshly released Plotly Express to plot a Gapminder-style simple scatterplot of countries over x and y.

I looked around but I can’t seem to find an example in which each marker, while moving, draws a line, so that it is possible to follow precisely the movement of the markers. Any idea on how to do it? (even with standard plotly in Py or R and not plotly_express)

thanks!

#2

I see that you’ve created a Github issue so I responded there :slight_smile: https://github.com/plotly/plotly_express/issues/82

#3

Hey @nicolaskruchten, thanks for the reply :slight_smile:

I guess on px side the reply on github makes it clear, still curious if here the community has any suggestion on how to make this with Plotly.