A browser-native pivot engine

High-performance pivot tables for the browser.

voltcube is a high-performance pivot table that mounts into any DOM element with a fluent builder API. Million-row datasets, lazy hierarchies, and an opinionated mobile surface — out of the box.

Install

# Vanilla JS / TS
npm install voltcube

Quick start

A few lines of configuration mount a fully interactive pivot. No global CSS, no React dependency, no UI freezes while data loads.

import { Pivot } from 'voltcube';

await new Pivot()
  .data({ type: 'csv', url: '/sales.csv' })
  .rows(['Region', 'Category'])
  .columns(['Year'])
  .values([{ field: 'Sales', agg: 'sum', as: 'totalSales' }])
  .mount('#pivot');

Why voltcube

01

1M rows in the browser

Handles 1M data points or 500K pivot combinations entirely in the browser. No server, no round trips.

02

Opinionated mobile view

A purpose-built drill-card layout for small screens. Same engine, same data, a UI that reads on a phone.

03

Themeable

CSS variables scoped to the pivot container. Override any token, or flip dark mode with a single attribute.

04

Blazing fast

Subtotal queries on 1M rows return in under 600 ms. Expansion toggles in a single frame, scrolling never blocks.

Ready to explore the API?

API reference Open the showcase