{"repo":"plotly/react-pivottable","free":true,"listed":false,"github":"https://github.com/plotly/react-pivottable","clone":"git clone https://github.com/plotly/react-pivottable.git","description":"React-based drag'n'drop pivot table with Plotly.js charts","language":"JavaScript","stars":1065,"topics":["react","pivot-tables"],"license":"MIT","category":"ui-components","readme_excerpt":"react-pivottable react-pivottable is a React-based pivot table library with drag'n'drop functionality. It is a React port of the jQuery-based PivotTable.js by the same author. react-pivottable is part of Plotly's React Component Suite for building data visualization Web apps and products. What does it do & where is the demo? react-pivottable 's function is to enable data exploration and analysis by summarizing a data set into table or Plotly.js chart with a true 2-d drag'n'drop UI, very similar to the one found in older versions of Microsoft Excel. A live demo can be found here. How can I use it in my project? Drag'n'drop UI with Table output only Installation is via NPM and has a peer dependency on React: Basic usage is as follows. Note that PivotTableUI is a \"dumb component\" that maintains essentially no state of its own. Drag'n'drop UI with Plotly charts as well as Table output The Plotly react-plotly.js component can be passed in via dependency injection. It has a peer dependency on plotly.js . Important: If you build your project using webpack, you'll have to follow these instructions in order to successfully bundle plotly.js . See below for how to avoid having to bundle plotly.js . To add the Plotly renderers to your app, you can use the following pattern: With external plotly.js If you would rather not install and bundle plotly.js but rather get it into your app via something like tag, you can ignore react-plotly.js ' peer-dependcy warning and handle the dependency inj","default_branch":null,"files":null,"tree":[],"storefront":"/r/plotly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/plotly/react-pivottable/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}