JSFiddle - React, Tailwind, and code Playground

by Flexmonster Pivot Table

HTML

<script src="https://cdn.flexmonster.com/flexmonster.js"></script>

<div id="wrapper">
  <div id="pivotContainer"></div>
</div>

CSS

#wrapper {
  height: 300px;
  width: 500px;
  min-width: 400px;
  min-height: 300px;
  overflow: hidden;
  resize: both;
}

JavaScript

var pivot = new Flexmonster({
  container: "pivotContainer",
  componentFolder: "https://cdn.flexmonster.com/",
  toolbar: true,
  width: "100%",
  height: "100%",
  report: {
    dataSource: {
      filename: "data/data.csv"
    }
  }
});