Data Stream Visualization

Hey all,
I am trying to visualize a scatter plot of a stream of data that comes from a get_data_from_sensor() function that returns a tuple of (timestamp,data) .
Basically I want it to look something like this.
The data comes from a sensor that is connected to my RPi.
Any ideas?
Thanks!

1 Like

Hi! Just to point you to the right documentation if you’ve missed it, you will find the pieces that you require in the Working with streaming data page of HoloViews. Let us know if you need more guidance than what is provided in the docs :upside_down_face:

1 Like

Additionally there is a list of Streaming resources here List of Streaming Resources - Panel - HoloViz Discourse

1 Like

Thank you so much for you comments,
@Marc - these resources are very helpful, thanks a lot, you are the best!
Specifically, I used this -
https://anaconda.org/jbednar/project/streaming_hvplot
And this is what I made so far -


My next to challenge is to somehow thread the data fetching process from the visualization so the interval will be faster.

Another challenge for the project is in a different thread here -

1 Like