Have dataset single , and one column should represent the data or identifier of both the columns in single column .And that column would be used to represent the segmentation in graph.