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

Multi layers DECK.GL visualization #4096

Merged
merged 5 commits into from
Dec 26, 2017
Merged

Conversation

mistercrunch
Copy link
Member

@mistercrunch mistercrunch commented Dec 19, 2017

screen shot 2017-12-19 at 2 08 20 pm

Allows users to pile up many DECK.GL slices into a single visualization
fixes #4084

@mistercrunch mistercrunch force-pushed the multi_deck branch 3 times, most recently from 4b5a782 to d161989 Compare December 23, 2017 01:09
superset/viz.py Outdated
slice_ids = fd.get('deck_slices')
slices = db.session.query(Slice).filter(Slice.id.in_(slice_ids)).all()
data = []
for slc in slices:
Copy link
Member

@hughhhh hughhhh Dec 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: data = [slc for slc in slices]
I would even put the [slc for slc in slices] in the actual return statement

return {
   'mapboxApiKey': config.get('MAPBOX_API_KEY'),
   'slices': [slc for slc in slices],
}

@hughhhh
Copy link
Member

hughhhh commented Dec 26, 2017

LGTM 🚢

@mistercrunch mistercrunch merged commit 45686a1 into apache:master Dec 26, 2017
@mistercrunch mistercrunch deleted the multi_deck branch December 26, 2017 18:47
michellethomas pushed a commit to michellethomas/panoramix that referenced this pull request May 24, 2018
* Multi layers DECK.GL viz

* Fix tests

* rebasing

* Fix error handling in chartActions

* Addressing comments
@ahsanshah
Copy link

Wanted to confirm if auto-zoom on a multi layer Deck is not supported? Currently layering 2 Scatters does not allow for auto zoom even with conformed column name filters.

@mistercrunch
Copy link
Member Author

Not currently supported as far as I know.

wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
* Multi layers DECK.GL viz

* Fix tests

* rebasing

* Fix error handling in chartActions

* Addressing comments
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.23.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.23.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Multi-deck.gl new visualization type
3 participants