Simulating real-time data from csv file

I’m trying to simulate real-time data by reading a pandas data frame one row after the other. One of the goal would be to display a simulated “real-time” graph (data from new row appears every second). I’v been able to reproduce the excellent code from akutlusenturk ( which is working well. However, I really need to be able to make more changes to the graph than is allowed by streamlit (change color, forbid user to play with axis, etc) and I’m stuck trying to reproduce this kind of simulation with another plotting library.

Would anyone have a good suggestion or idea on how to achieve this with another library?