Creates a graph from tabular data