Real Time Json Data Visualization With Bokeh

Hi everyone, I’m trying to Real Time Visualization with Bokeh, My data is Json format. I found partial applications. But I couldn’t collect them. Do you have any sample or suggestion for me?

Hi,

This question is far too vague for anyone to give any meaningful advice, you will have to describe what it is you want to accomplish in much more detail.

Thanks,

Bryan

···

On Jul 8, 2018, at 20:04, Tuba Gokhan [email protected] wrote:

Hi everyone, I’m trying to Real Time Visualization with Bokeh, My data is Json format. I found partial applications. But I couldn’t collect them. Do you have any sample or suggestion for me?

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e254d43c-ae88-45d5-be41-5f0a77e377bd%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

You’re right, I’m sorry, the situation is like this, I’m trying to create a graphic like I showed in the picture. But my data source works in real time. New data is constantly being generated. I need to transfer this data to the graph simultaneously.
My data source url=> ‘http://uoweb1.ncl.ac.uk/api/v1/sensors/live.json’ and

my api key =>‘5esj2vxuzkszejyrcxmo4k7o6qckkgr4sa5f1bynb68odfg392yc4tb9w44551wel5nxbrtnsqnlsxh798nte9gmgf’

I’m tried to use

"

source.stream(new_data, 300)

"

​and but I have many many error. I am sorry but I have been using python for the last 1 week and I met Bokeh for the first time. I do not know if it can be very simple or very difficult, but if I can find a similar example, maybe I can do it myself. Bokeh, Bokeh Serve, Curdoc, Layout, Figure, ColumnDataSource etc all caused my very big complexity. What I think is,

  1. Convert JSON data to ColumnDataSource

  2. Assign a ColumnDataSource to the Source

  3. Attract new data at specific intervals and add to the source.

But I can not.

Another problem is that I need to keep the data for the last 24 hours and should I store this data somewhere such any database? Or does Bokeh Serve allow this?

···

2018-07-09 5:28 GMT+01:00 Bryan Van de ven [email protected]:

Hi,

This question is far too vague for anyone to give any meaningful advice, you will have to describe what it is you want to accomplish in much more detail.

Thanks,

Bryan

On Jul 8, 2018, at 20:04, Tuba Gokhan [email protected] wrote:

Hi everyone, I’m trying to Real Time Visualization with Bokeh, My data is Json format. I found partial applications. But I couldn’t collect them. Do you have any sample or suggestion for me?

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e254d43c-ae88-45d5-be41-5f0a77e377bd%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/6C013887-FBCB-4654-9C4A-D2F0D210497B%40anaconda.com.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Hi Tuba,

It is certainly ambitious to try an app of this complexity after a week of working in Python. If this is your first programming experience in general, I would really recommend a more gentle introduction, rather than jumping directly into the deep end. A lot of the questions you asked are good questions about application architecture in general, and are not specific to Bokeh or any visualization platform.

That said, there are a number of examples of Bokeh applications that are updated as new data arrives.

https://github.com/bokeh/bokeh/tree/master/examples/app/spectrogram

http://matthewrocklin.com/blog/work/2017/06/28/simple-bokeh-server

https://zduey.github.io/snippets/streaming-stock-data-with-bokeh/

After studying these, if you are still unable to get your app to work, follow up with specific questions and include minimal verifiable code demonstrating the problem.

cheers,

Dennis

···

2018-07-09 5:28 GMT+01:00 Bryan Van de ven [email protected]:

Hi,

This question is far too vague for anyone to give any meaningful advice, you will have to describe what it is you want to accomplish in much more detail.

Thanks,

Bryan

On Jul 8, 2018, at 20:04, Tuba Gokhan [email protected] wrote:

Hi everyone, I’m trying to Real Time Visualization with Bokeh, My data is Json format. I found partial applications. But I couldn’t collect them. Do you have any sample or suggestion for me?

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/e254d43c-ae88-45d5-be41-5f0a77e377bd%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/6C013887-FBCB-4654-9C4A-D2F0D210497B%40anaconda.com.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.