prepare full data table for plotting