Graph tool for data analysis