data gathering, processing, and first graph