I found out about pivottable.js last summer, and I really liked the idea of a library for interactive data exploration in JS, along with built-in aggregations (sums, average, count) and displays (table, scatter plots, bar charts), all done through an UI component.
I haven’t had the chance to try it out, so today I decided to get started by making it into a Dash component. Thus, I made this dash wrapping of the react-pivottable library (maintained by Plotly, and created by Nicholas who also made pivottable.js; awesome work!).
The github link: https://github.com/xhlulu/dash_pivottable
Here’s what it looks like when you run the
usage.py file in the project:
Honestly all the heavy-lifting was already done in the react component, and the library is really easy to learn. Go check it out: https://github.com/plotly/react-pivottable/
Shoutout to Nicholas for making this awesome library (2 years late haha)!