Guide
Share an HTML report or dashboard
A report saved as HTML keeps its interactive charts and filters. Attached to an email it often arrives broken; shared as a link it opens on any laptop or phone, with nothing to install.
By the ShareHTML team. Updated .
1. Save it as one self-contained file
Everything the report needs should be inside the HTML file: charts, data, styles and scripts. A quick test: open the file with Wi-Fi off. If it still works, it is self-contained.
Plotly (Python)
fig.write_html("report.html", include_plotlyjs=True)This puts Plotly inside the file, about 4 MB. Scripts loaded from other servers can hold a page on ShareHTML, except from cdnjs.cloudflare.com and cdn.jsdelivr.net, so do not use Plotly's own CDN.
Quarto
format:
html:
embed-resources: trueR Markdown
output:
html_document:
self_contained: trueJupyter
jupyter nbconvert --to html report.ipynb
Charts drawn as images come along inside the file. Interactive widgets may load scripts from elsewhere, so run the Wi-Fi test.
2. Upload it and send the link
- Drop the file on sharehtml.org and sign in with your email and a 6-digit code.
- Copy the link and send it to your client or team.
- Next month, replace the file in your dashboard. The link stays the same, so the bookmark your client saved shows the new report.
Reports are often large: the free plan takes files up to 5 MB, Pro up to 25 MB, with no bar on the page and no cap on views.
Client data
A ShareHTML link is unlisted, so search engines are asked not to index it, but anyone who has the link can open the page. Share only what you may share by email. On Pro you can put a report behind a password, keep it to yourself, or end its link on a chosen day: see sharing privately.
Questions
- Will the charts stay interactive?
- Yes. The page runs in the browser exactly as it does from your disk.
- Can I update the report without sending a new link?
- Yes. Replace the file and the link stays the same.
- What if my report is several files?
- Export it as one self-contained HTML file with the settings above. ShareHTML hosts one HTML file per link.