Load graph using data