Hey Aziz, good question and yes, you're right that you can also embed Plotly plots as an iframe. However, there are two key advantages I see with embedding via Quarto. Firstly, using an iframe won't necessarily make the code and data accessible for the audience. Whereas in Quarto, anyone who has access to the .qmd file and the right environment can reproduce the plots and report.
Secondly, Quarto can re-render all graphs and content in a document/website every time the underlying data is updated. This is more efficient than regenerating the plots locally, getting the iframe links, and then updating the links in the HTML site, especially if there are many plots.
Yes, feel free. You can download each plot as a png file in the dashboard if needed. I‘m looking to add more plots to this prototype website in the future too.
Hey Trevor, sorry this is not really my area of expertise. Are you looking for visualisations of these results? I think Quarto supports many languages so you can check out their site and see if it can be embedded.
Very cool! Is Quarto really necessary, though, to share plotly python charts online—can't you simply embed the plotly code into an iframe?
Hey Aziz, good question and yes, you're right that you can also embed Plotly plots as an iframe. However, there are two key advantages I see with embedding via Quarto. Firstly, using an iframe won't necessarily make the code and data accessible for the audience. Whereas in Quarto, anyone who has access to the .qmd file and the right environment can reproduce the plots and report.
Secondly, Quarto can re-render all graphs and content in a document/website every time the underlying data is updated. This is more efficient than regenerating the plots locally, getting the iframe links, and then updating the links in the HTML site, especially if there are many plots.
That makes a lot of sense and confirms my prior thinking thanks so much for your response and for your excellent newsletter
Love it! Ok if i point to your housing charts?
Yes, feel free. You can download each plot as a png file in the dashboard if needed. I‘m looking to add more plots to this prototype website in the future too.
Any recommendations (or Substack recs) for data visualization of Continuous Integration results over time? CS stuff instead of Econ.
Hey Trevor, sorry this is not really my area of expertise. Are you looking for visualisations of these results? I think Quarto supports many languages so you can check out their site and see if it can be embedded.