formatted axis and data for the graph.  added zoom ability