data import and plot