Dashboard with html generator and chart generator with matplotlib
This function generates a chart for a given array and outputs the chart to the img folder of a server It also generates the HTML code The HTML page will autorefresh and show a new chart