I am building a Shiny dashboard in which I am getting incorrect results in Shiny dashboard whereas if I run the ggplot code, I get the right results:
UI side