Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Zoomable plots (online data fetching) #129

Open
mireklzicar opened this issue May 30, 2024 · 1 comment
Open

Enhancement: Zoomable plots (online data fetching) #129

mireklzicar opened this issue May 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@mireklzicar
Copy link

Is it technically feasible to implement dynamic plots? I have in mind something like this: https://holoviews.org/gallery/apps/bokeh/mandelbrot.html Especially for fractals/attractors as well as for geodata it makes sense to fetch the datapoints based on given zoom level or xy range and display them as the user zooms or moves in the plot.

This feature would make regl-scatterplot and jupyter-scatter even more scalable for datasets which are currently OOM.

mandelbrot

@flekschas
Copy link
Owner

I agree this would be an absolutely fantastic feature! And it's on my radar for a while now. Unfortunately this feature isn't trivial to implement and it'll likely take a while before it lands as we have to think about a couple of things:

  1. How should the request protocol look like for tiled data access
  2. How can the user create a tiled dataset
  3. regl-scatterplot's data loading strategy needs to be refactored to support view-based data updates (beyond the rendering, we also have to update the spatial index for selecting points)

None of this should be too hard as we can draw a lot of inspiration from HiGlass and deep-scatter for inspiration. But it would be a big lift :)

If you have specific thoughts or would like to take a stab at it, I'm all ears and happy to get you going!

@flekschas flekschas added the enhancement New feature or request label Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants