Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

265
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!