Statistics calculated and plotted from imported csv files