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!