made div element where plot is shown an argument