Separating data loading from graphing