https://github.com/nicolaskruchten/pivottable
View-source on these to see what's going on under the hood!