Created function to generate an HTML plain graph