← Back to Developer Hub

Quick Start Guide

Get WebPivotTable running in your project in just a few minutes.

📦 CDN Installation

Perfect for prototyping and simple projects

View CDN Example →

📚 NPM Installation

For production applications and build systems

View NPM Example →

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>

What's Next?

⚛️ Framework Integration — See how to use with React, Vue, Angular, etc.⚙️ Feature Examples — Explore data sources, events, exports, and more📖 Full Documentation — Complete API reference and configuration guide