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

Test libraries for interactive visualizations #35

Closed
anitagraser opened this issue Sep 12, 2019 · 7 comments
Closed

Test libraries for interactive visualizations #35

anitagraser opened this issue Sep 12, 2019 · 7 comments
Labels

Comments

@anitagraser
Copy link
Collaborator

Spatial support is now implemented vega/altair#1664

@slothkong
Copy link

slothkong commented Oct 13, 2019

@anitagraser from all tasks this seems to be the one that requires the least formal knowledge of both the theory and the code base. If you were to test this where would you start? First time I come across altair. Seems quite useful tho.

@anitagraser
Copy link
Collaborator Author

anitagraser commented Oct 13, 2019

Thank you for your interest in taking over this task @slothkong !

The main advantage I'm hoping for is to have interactive plots. For example, the current Trajectory.plot() function can show speed along the trajectory using different colors and we can add a legend to explain the colors but with Altair, I would hope that the user can hover over a line segment and see the actual speed value.

movingpandas_plot_speed

@slothkong
Copy link

ok. I can l play a bit with 0_getting_started.ipynb and see if I can plot the same data with the new lib.
Just out of curiosity, have you considered plotly?
I think this kind of interactivity you hope to achieve could also be easily implemented on it, with the benefit that is a more standard library, getting tons of love by the dev community these days. Might give MovingPandas an extra boost and ease up open source developement

@anitagraser
Copy link
Collaborator Author

Plotly would be a great addition as well and it would most likely be a more sensible first step. I'll open a separate ticket for plotly.

Altair get's really powerful when used to create linked charts but I might be getting ahead of myself.

@anitagraser
Copy link
Collaborator Author

@slothkong looking forward to seeing what you come up with

@anitagraser anitagraser changed the title Test Altair for visualizations Test libraries for interactive visualizations Nov 9, 2019
@anitagraser
Copy link
Collaborator Author

I've started an ipynb comparing folium and hvplot:

image

https://github.com/anitagraser/movingpandas/blob/master/tutorials/3_interactive_maps.ipynb

@anitagraser
Copy link
Collaborator Author

Going forward with hvplot 1df39ce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants