I am using different libraries like pandas and numpy for generating a dataframe, which eventually generate a graph.
Now, I need to show this graph into a simple webpage
You can also use Plotly for that. This provides more interactive graphs. Also you can write the generated data in HTML files, apply bootstrap styling.
Plotly
interactive graphs
HTML files, apply bootstrap styling
Check out this tutorial on their website.