This page contains the minimum required code for a graph. Note that the only required input is x and y data points.