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

World airports dataset #14

Open
edschofield opened this issue May 21, 2018 · 1 comment
Open

World airports dataset #14

edschofield opened this issue May 21, 2018 · 1 comment

Comments

@edschofield
Copy link

edschofield commented May 21, 2018

Nice work on vega_datasets and altair! 😃

It would be great for the entire world airports dataset to be included in vega_datasets, not just a subset for those in the USA. It would make for many more interesting visualization possibilities, starting with this:

alt.Chart(world_airports[:5000]).mark_bar().encode(
    x='count()',
    y='Country:N'
)

and then filtering by country, timezone etc.

This dataset is around 8000 rows, which would also serve the useful purpose of demonstrating how to handle datasets longer than Altair's default limit of 5000 rows. This limit is likely the first hurdle most people using Altair for real datasets will have to surmount. (I'd also gladly volunteer to help to make handling of large datasets more seamless in Altair...)

Example URLs:

@jakevdp
Copy link
Member

jakevdp commented May 21, 2018

Great suggestion! All datasets accessed by this package come from the vega/vega-datsets repository. Any new datasets should be proposed there.

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

No branches or pull requests

2 participants