def generate_html(temp_path)
      path = File.expand_path(temp_path, __FILE__)
      url = Nyaplot.get_url
      id = SecureRandom.uuid
      model = to_json
      template = File.read(path)
      ERB.new(template).result(binding)
    end
def generate_html(temp_path)
      path = File.expand_path(temp_path, __FILE__)
      url = Nyaplot.get_url
      id = SecureRandom.uuid
      model = to_json
      template = File.read(path)
      ERB.new(template).result(binding)
    end
generate static html file
 @return [String] generated html