-
Notifications
You must be signed in to change notification settings - Fork 793
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
Adding an example to the "Maps" section that shows trajectories of hurricanes #3092
Comments
Hi @thomascamminady, this is a really nice example! And I agree that it fills a gap in our current gallery. I'll defer to @mattijn and @joelostblom on this, but I think our policy has been to only pull datasets from the vega-datasets package, so that may indeed be the next step. So I would recommend opening a PR in https://github.com/vega/vega-datasets/ with your example above as motivation and:
Once that's merged and released we would need to release the Python wrapper at https://github.com/altair-viz/vega_datasets. |
Thanks for the feedback! I'll have a look at |
Neat example! I think it would be great to include this (and it could maybe be a great example for temporal animation too once that is added to Vega-Lite). I agree that it could be great to have this added to the vega_datasets package (although I am not sure if the Python version is currently up to date, so there might be some work required on that too). A possible alternative would be to serve it somewhere on a public URL, although this is less preferred, we do have at least one example that loads from an external URL and it is in the geo viz section. |
I’d be happy to add this dataset to Vega datasets but then it would be great to add an example to the Vega-Lite gallery as well. |
Okay then I'll proceed with the following steps:
I hope to get to this by the weekend :) |
One caveat, see #2310 (comment).
To update the I would love to assist in this, but I don't have publish rights on pypi for these altair-subpackages. Currently @jakevdp is the sole maintainer of https://pypi.org/project/vega-datasets/. |
I wonder whether it would help to add another example to the "Maps" section in the examples that illustrates who geo data, especially trajectories, can be visualized.
I think the only other example that illustrates this is the London Tube Lines example and I actually missed this at first because it was in the "Case Studies" section.
Here's a version of what I hope is a useful (interactive) example that might be added as an example.
And here's the source code.
Now there's one caveat: The data that I use is taken from Kaggle, although the original data comes from the National Hurricane Center and is published under the CC0 license. I downloaded the data from Kaggle and performed some post-processing, the steps are shown below.
If there's some interest in this example, maybe adding this data to the
vega_datasets
repository might be an option?I am happy to pursue this further if the route via
vega_datasets
would make sense.Regardless of whether or not this example will be added, I do think an example that shows how to plot routes (initially, I wanted to plot my running routes) would help.
The text was updated successfully, but these errors were encountered: