data plots on the graph on each click.