using ajax to prevent large initial download

I’m just starting out with Bokeh (but have lots of experience with numpy, pandas, django, meteor). I have a large pandas datapanel and essentially I’d like to create a web plot with a dropdown where the dropdown triggers an ajax load of one of the panel’s dataframes and plots it. I don’t want to send the whole panel to the browser since it’s ~100mb.

Are there any working examples out there of something like this? I saw the stocks example in the bokeh-demos repository, but as far as I can tell it is broken. Please direct me to some useful resources. Thanks!

Take a look through the many examples here:
I’m guessing:
might be of interest to you (found by searching Ajax here:
)

···

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

https://github.com/bokeh/bokeh/blob/master/examples/howto/ajax_source.pyhttps://github.com/bokeh/bokeh/search?utf8=%E2%9C%93&q=Ajax&type=Code

On 8/1/16 4:14 PM, foobarbecue wrote:

    I'm just starting out with Bokeh (but have lots of

experience with numpy, pandas, django, meteor). I have a large
pandas datapanel and essentially I’d like to create a web plot
with a dropdown where the dropdown triggers an ajax load of one
of the panel’s dataframes and plots it. I don’t want to send the
whole panel to the browser since it’s ~100mb.

      Are there any working examples out there of something like

this? I saw the stocks example in the bokeh-demos repository,
but as far as I can tell it is broken .
Please direct me to some useful resources. 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/b3f6a578-ce57-4ad4-bd30-3839170e1ddf%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/b3f6a578-ce57-4ad4-bd30-3839170e1ddf%40continuum.io?utm_medium=email&utm_source=footer).

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


Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)