title: Select bars in a plot in Shiny
body: <p>Is it possible to select part of a plot in Shiny UI? I would like to give user the possibility to select range of bars in plot and apply some function based on selection.</p>
  
  <p>I did not find any example, but maybe someone has a working solution to this use čase.</p>