Thanks for your questions. The first thing to mention is that it is possible to do this in bokeh in a variety of ways, both with and without the server. If your data is already behind some REST interface, then the simplest route is probably to use the AjaxDataSource, which does not require the server. A simple example of its use is here:\
The "Ocean Surface Temperature" demo that is also around on YouTube also uses the AjaxDataSource. It is here:
The server is also an option, but I should warn you to wait. The server has recently been completely re-written from the ground up and is faster, smaller/simpler, and much easier to use and deploy and explain. The major PR was just merged into master, and will show up in the upcoming 0.11 release in December. It will come with much expanded docs as well as many new examples so of how to use it. I would not advise anyone to start a project with the old server at this point in time.
On Nov 10, 2015, at 12:55 PM, [email protected] wrote:
I'm relatively new on Python and Bokeh technology. My goal is actually to be able to display line charts containing millions of points (like around 5 millions) in a browser. I'm conscient that actual browsers can't handle such an amount of data. This is why I'm trying to implement a downsampling algorithm to adapt the amount of points according to the user zoom.
Bokeh technology seems to be the technology I need. Indeed, I saw the following video on YouTube which presents a downsampling example which works perfectly : https://www.youtube.com/watch?v=kPknmEwQ3Rc
That's what I want to implement for my project. So I read a lot of the User guide in the Bokeh website but the section for downsampling is empty and documentation doesn't seem complete to help me :http://bokeh.pydata.org/en/0.10.0/docs/user_guide/server.html#downsampling-with-server
I read some posts on Internet like on GitHub and some people talk about Bokeh examples for downsampling using bokeh-server. Unfortunately, I'm not able to recover any of this examples on Internet. All links I found were invalid. This is why I'm posting here. I would like to know if anybody would have a working project of downsampling using Bokeh or a link to share.
Thank you in advance !
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/2d045cb7-4319-43e5-a5bb-07f00a03c637%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.