loadData for graphs in the future