pre_plot function

Put a tibble in form to plot