add working graph. add api call. remove hardcoded data.