Bokeh Timeserise plot

Hello,

I have about 15K data points of different parameters with reference to time. I have written code in Python to plot a few using bokeh. It loads the data into the HTML which goes up to 60MB and it is not something you want to have on your website.I need something like … Initially all the data points are available, but when we zoom in, it loads more data from server, not directly put the json into HTML.

I tried Datashader but I guess that is more useful for data in millions.I think bokeh server should be a choice here but I don’t know much about it.

Can anyone please suggest me something to solve this ? I can attach my code if needed.

Thanks.

I think Datashader is useful for “big data”, where “big” means “too many for your usual plotting program to handle”. :slight_smile: So it will work just fine with 15K points, and will ensure that your HTML page is always a fixed size regardless of how large your dataset grows.

You may also want to consider the “decimate()” operation now provided in the Github master version of HoloViews, as in this example:

https://anaconda.org/philippjfr/holoviews_datashader/notebook

It works like the datashader support in HoloViews – you’ll get a fixed-size HTML/Bokeh representation that dynamically adjusts as you zoom in, loading more data from the server each time. Decimate does this by returning a specified maximum number of points, while datashader does it by aggregating across all points and returning an image instead, and both approaches have their uses.

Decimate is implemented in HoloViews as a Bokeh points plot, and you can always implement your own dynamic downsampling if you don’t want to use the implementation provided by HoloViews.

···

On Wed, Jan 18, 2017 at 12:24 PM, Yasir Azeem [email protected] wrote:

Hello,

I have about 15K data points of different parameters with reference to time. I have written code in Python to plot a few using bokeh. It loads the data into the HTML which goes up to 60MB and it is not something you want to have on your website.I need something like … Initially all the data points are available, but when we zoom in, it loads more data from server, not directly put the json into HTML.

I tried Datashader but I guess that is more useful for data in millions.I think bokeh server should be a choice here but I don’t know much about it.

Can anyone please suggest me something to solve this ? I can attach my code if needed.

Thanks.

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/34d1b718-7437-454c-a801-2aeb9f959c0d%40continuum.io.

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

Jim