covid-19-Re / shiny-dailyRe

R app for daily Covid-19 Re estimates
GNU General Public License v3.0
19 stars 2 forks source link

Selecting specific country in one plot filters them out in another. #25

Open mars-hub opened 2 years ago

mars-hub commented 2 years ago

Hi,

It's a minor issue.

I observed this behavior while playing around with European data. As per attached images, using the filtering options above the confirmed cases plots, deselects them on the stringency index plot and viceversa.

How to replicate:

  1. Select countries
  2. Filter them above plot according to your taste
  3. Switch from "Confirmed Cases" to "Deaths"
  4. Observe that what is selected in upper plot ("Confirmed Cases" / "Deaths") is unselected in bottom one ("Stringency Index").
image image