Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

268
Vistas
Dynamically update html page with Plotly visualization in Flask

I have a flask app which gets user input from an html form. The python code(as shown below) then uses that input to generate a visualization using Plotly and stores that as a <div> tag in an html file.

fig = px.line(df,x='date',y=column)
pio.write_html(fig,file='visualization.html',auto_open=False,full_html=False)

My question is how can I display this visualization on the same page in which I got the user input from? In other words, I want to display the visualization right underneath the html form from which it gets input from, as opposed to opening up the visualization in a new tab. I need a dynamically update an html page to include new elements based on some user actions.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda