- Save in desired location:
- 'dataviz_generator' folder OR 'dataviz_generator.py' python file only.
- user
.csvfile as input.
- Open new terminal at desired folder location and enter command: 'python dataviz_generator.py'
- Inputs:
- '.csv' filepath/name.
- boxplot (or lineplot) - input 'b' or 'l'.
- yes (or no) outliers - input 'y' or 'n'.
- (optional, if 'n' for input 3) maximum data point to include (values > input are excluded from data).
- Outputs .png file:
- plot with outliers; file saved and formated as
{ddmmyyyy figure} with outliers.png, where {ddmmyyyy figure} represents final day of reported treatment and figure represents user specified plot. - plot without outliers;
{ddMmmYYYY figure} without outliers > {x}.png, where {x} represents maximum data point.
- plot with outliers; file saved and formated as
- Jupyter Notebook (boxplot_generator.ipynb) file contains example usage.
- Example comma-separated value (measurements.csv) file illustrates key-sensitive column names:
date,type,cage_num,width_mm,length_mm,area_mm^2, andnote.