Output data as a graph