Display the graph automatically when a string is entered in the params