Displays a graph, given json input.