Modify module to plot time-series data