Clone me on GitHub

## PivotTable.js Examples

PivotTable.js is an open-source Javascript Pivot Table (aka Pivot Grid, Pivot Chart, Cross-Tab) implementation with drag'n'drop functionality written by Nicolas Kruchten.

To see what it can do and how, browse the examples below or check out the documentation wiki for full details.

Are you using React? Check out the React port: react-pivottable!

### Fully Loaded Examples

- pivotUI() with the 700+ datasets that ship with R
- pivotUI() with local CSV input: bring your own dataset

### Editable JSFiddles with Tips Dataset (docs)

- pivot() demo
- pivotUI() demo
- pivotUI() demo with C3 charts

### Basic examples

- pivot()
- pivot() with non-count aggregator
- pivot() with function input
- pivot() with CSV input and chart output
- pivotUI() with "array of objects" input
- pivotUI() with table element input

### Canadian Parliament 2012 Dataset (CSV or JSON)

- pivotUI() with derived attributes
- pivotUI() prepopulated with click callback
- pivotUI() with custom aggregators and sort order
- pivotUI() with configuration saving/restoring
- pivotUI() with serialized configuration
- pivotUI() with configuration access on refresh
- pivotUI() loaded from CSV
- pivotUI() French UI localization
- pivotUI() with Plotly chart renderers
- pivotUI() with C3 chart renderers
- pivotUI() with D3 renderers
- pivotUI() with export renderers
- pivotUI() with Google Charts renderers
- pivotUI() mobile-enabled and with all renderers

### Montreal Weather 2014 Dataset (CSV)

- pivotUI() with date derivers, sort overriding and custom heatmap colours