Added method build_data_graph