graph data using ordered pairs