Here's a standalone HTML file that renders an interactive pivot table. The JavaScript bundle is served by the ReportBurster server:
<!DOCTYPE html>
<html>
<head>
<!-- Load the web components bundle from the ReportBurster server -->
<script src="http://localhost:9090/rb-webcomponents/rb-webcomponents.umd.js"></script>
</head>
<body>
<rb-pivot-table
report-code="piv-sales-country-year-duckdb"
api-base-url="http://localhost:9090/api/jobman/reporting"
></rb-pivot-table>
</body>
</html>
That's it — one script tag and one custom element with two attributes.
report-code — tells the component which report configuration to load from the serverapi-base-url — the ReportBurster API endpoint (the server handles config, data, and aggregation)localhost:9090 with your actual server address in production.
<rb-pivot-table> is a standard Web Component (Custom Element) built with Svelte and packaged as a UMD bundle. It runs in any modern browser — no framework dependency, no build step. If the page can load a JavaScript file, it can render the pivot table.