pulling data for visualization