created file code for ggplot graph for FMP