someshkar / covid19india-cluster

:microscope: Covid19 India Cluster Graph
https://cluster.covid19india.org
MIT License
989 stars 654 forks source link

Toggle cluster filters for mixing and matching instead of one at a time #114

Open sibeshkar opened 4 years ago

sibeshkar commented 4 years ago

Some logic to toggle filters on and off so multiple parameters can be mixed and match (instead of one at a time)

srikrishnamoorthis commented 4 years ago

Hi @sibeshkar ,

Currently, on selecting any of the options from the filter panel (p2p, state, city, travel, age), only grouping of the clusters are changed but cluster data remains the same. In this case, I feel term "cluster filters" might be misleading.

Even if logic for toggling filters on and off is added to filter panel, user would still not be able to filter cluster data by state, city or age.

Having a separate control to filter cluster data might be helpful. For example, filter cluster data by state "Maharastra" or filter cluster data by city "Pune". A UI component can be added in the side panel to choose the desired parameter(state, city, age) and value to filter the cluster data. Any Thoughts?