thosaniparth / CmyPlot

MIT License
0 stars 2 forks source link

[FEATURE] Add dynamic filters to graph page #18

Open thosaniparth opened 3 years ago

thosaniparth commented 3 years ago

The graph page needs to support adding dynamic filters. This will help the users to understand the data in a more structured way and more insights could be drawn based on different filters and graph types if they are made dynamic.

BosamiyaSimran commented 3 years ago

The idea for this ticket is that a user can do the following

  1. upload data
  2. go to the graph page
  3. click an add filter button
  4. Select a specific column, choose the proper datatype (pandas can likely present you this), choose the type of filter
  5. This then adds a filter to the graph that the user to can play with

For example, using the sample data. The user might want to focus on only recent years. They can add a filter for 'year', choose 'int' as the datatype, and select 'range' for the filter type. This will add a filter that has a range slider the user can move to look at specific years.

This ticket might be best for implementing the general framework of what's going on, then use subsequent tickets for various filter types.

nsshah14 commented 3 years ago

A cool idea is to include an interval features for the filters. For instance, if I want to see how data changes over time, I might set up an interval to change the date filter every 5 seconds. We can use the interval component for triggering a change in the filters. The change in filters should auto-trigger the graph callback