prep work for the data visualization