Track statistics (mean, median, etc.) of series.
Save graph's meta data into JSON file.
Put image and data files into subdirs.
Name the output and put everything into named subdirs.