mapbox / mapboxgl-jupyter

Use Mapbox GL JS to visualize data in a Python Jupyter notebook
MIT License
664 stars 137 forks source link

Add Timeslider option to all visualizations #82

Open ryanbaumann opened 6 years ago

ryanbaumann commented 6 years ago

A time slider/filter is a critical component to many data visualizations. We should start thinking about how to add a time slider component to any viz class type, where a mapboxgl filter could be applied for each time step or filter category in the slider.

Questions to consider:

  1. Would users want a filter/time slider with all visualizations?
  2. Would we want to handle this at the data level (filter data, then bring to map on each interaction), or at the render level (load all data into map, then filter the data using a mapboxgl layer filter)?
martham93 commented 6 years ago

This would definitely be a super useful feature! Please let me know if I can help with testing or design/usability.

lwasser commented 6 years ago

+++1

rmcarthur commented 5 years ago

Any update to this issue, or plans to add it?

ryanbaumann commented 5 years ago

@rmcarthur this remains on the roadmap but we do not have a target release date.

This draft PR in Mapbox GL JS will make this feature easy to implement in the most performant way - https://github.com/mapbox/mapbox-gl-js/pull/8448. Once this merges it should provide a straightforward solution to adding "playback" capabilities along any property/dimension in a dataset using FeatureState.