Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

270
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda