Graph module for R Shiny