load the data into the viewer