Share a Highcharts chart as a link
A Highcharts chart runs in the browser, so it fits in one HTML file. Load Highcharts from a CDN, put the data in the page as an array or a CSV block, upload the file, and send a link that opens the interactive chart.
Highcharts draws tooltips, legend toggles and zoom in the browser. A screenshot drops all of them, and a project folder that loads a separate data file breaks when the recipient opens it from disk, because a request for a local file is blocked on a file:// page.
One HTML file with Highcharts loaded from a CDN and the data inside it, hosted at a link, opens the working chart on any device.
Put the chart in one file
Create chart.html with this structure:
- ✓<!doctype html>, <meta charset="utf-8"> and <meta name="viewport" content="width=device-width, initial-scale=1"> in the head.
- ✓<script src="https://cdn.jsdelivr.net/npm/highcharts@13.1.1/highcharts.js"></script> to load Highcharts. Pinning the version keeps the chart from changing when a new release ships.
- ✓A container with a height, such as <div id="chart" style="height:400px"></div>.
- ✓A <script> block after the container: Highcharts.chart("chart", { chart: { type: "column" }, title: { text: "Signups" }, xAxis: { categories: ["Jan", "Feb", "Mar"] }, series: [{ name: "Signups", data: [12, 19, 27] }] });
- ✓Highcharts resizes the chart with the window by default, so the same file fits a phone screen.
Keep the data inside the page
A chart that loads data with fetch("data.csv") or the data module's csvURL option requests a second file. An uploaded page is hosted on its own, so that request fails and the chart stays empty.
Put the numbers in the series array, or paste a CSV into the page. Add the data module, <script src="https://cdn.jsdelivr.net/npm/highcharts@13.1.1/modules/data.js"></script>, put the CSV in a hidden <pre id="csv" style="display:none"> block, and pass data: { csv: document.getElementById("csv").textContent } instead of series. Tested on Highcharts 13.1.1: a three-row CSV drew three columns.
Data that already lives at a public URL which allows cross-origin requests can stay as a fetch() with the full https:// address.
Upload it and send the link
Drag the .html file onto the FileShare Pro dashboard and copy the link. The chart draws when the page opens. Tooltips and legend toggles work as they did locally, and viewers need no account.
If the page is blank once hosted, open the browser console. "Highcharts is not defined" means the script tag is missing or comes after your chart code; a failed request for a .csv or .json file means data was left outside the page. Why an AI page works in chat but breaks when hosted covers charts an assistant wrote.
Highcharts is a commercial library. Check its license terms before you use it for a business chart.
Turn on comments and viewers can leave a note on the page after typing a name. When the numbers change, upload the new file over the old one and the link stays the same: updating a shared link without changing it.
Other chart libraries: Vega-Lite, ECharts, Chart.js, Plotly, D3, ApexCharts.
Frequently asked
Put a script tag that loads Highcharts from a CDN, a container with a height, your Highcharts.chart() call and the data into one HTML file, upload it to a host that serves HTML as a web page, and send the link.
Usually the Highcharts script tag is missing or loads after the chart code, or the data comes from a file that was not uploaded. Check the browser console for the exact error.
Yes. Paste the CSV into a hidden element in the page, load the data module, and pass the element's text as data.csv.
Yes. The free plan hosts up to 50 files of up to 100 MB each, with view counts and comments included. Password-protected links are on Pro.
Drop the file, copy the link — live in seconds, free plan included.
Start sharing free