Prepare for data visualization