Quick Start Guide
Get WebPivotTable running in your project in just a few minutes.
📦 CDN Installation
Perfect for prototyping and simple projects
📚 NPM Installation
For production applications and build systems
Basic Usage
<!-- 1. Include the library -->
<script src="https://cdn.webpivottable.com/wpt/latest/wpt.js"></script>
<!-- 2. Add the web component -->
<web-pivot-table id="wpt" style="width:100%;height:500px"></web-pivot-table>
<!-- 3. Load your data -->
<script>
const wpt = document.getElementById('wpt')
wpt.setWptFromCsvUrl('https://cdn.webpivottable.com/samples/sales.csv')
</script>