JSFiddle - React, Tailwind, and code Playground

by Flexmonster Pivot Table

HTML

<link rel="stylesheet" href="https://s3.amazonaws.com/flexmonster/2.3/demo.css">
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://cdn.flexmonster.com/flexmonster.js"></script>

<div id="pivot-container"></div>

JavaScript

let pivot = new Flexmonster({
  container: "pivot-container",
  componentFolder: "https://cdn.flexmonster.com/",
  width: "100%",
  height: 430,
  toolbar: true,
  report: {
    dataSource: {
      data: [{
          "columns": "Never",
          "rows": "Fast Food / Quick-serve restaurant",
          "count": 10
        }, {
          "columns": "A few times per year",
          "rows": "Fast Food / Quick-serve restaurant",
          "count": 46
        }, {
          "columns": "A few times per month",
          "rows": "Fast Food / Quick-serve restaurant",
          "count": 123
        }, {
          "columns": "1-3 days per week",
          "rows": "Fast Food / Quick-serve restaurant",
          "count": 80
        }, {
          "columns": "4-6 days per week",
          "rows": "Fast Food / Quick-serve restaurant",
          "count": 15
        }, {
          "columns": "Daily",
          "rows": "Fast Food / Quick-serve restaurant",
          "count": 8
        },
        {
          "columns": "Never",
          "rows": "Fast Casual",
          "count": 19
        },
        {
          "columns": "A few times per year",
          "rows": "Fast Casual",
          "count": 51
        },
        {
          "columns": "A few times per month",
          "rows": "Fast Casual",
          "count": 141
        },
        {
          "columns": "1-3 days per week",
          "rows": "Fast Casual",
          "count": 54
        },
        {
          "columns": "4-6 days per week",
          "rows": "Fast Casual",
          "count": 13
        },
        {
          "columns": "Daily",
          "rows": "Fast Casual",
          "count": 4
        },
        {
          "columns": "Never",
          "rows": "Casual Dining",
          "count": 15
        },
        {
          "columns": "A few times per year",
          "rows": "Casual Dining",
          "count": 124
        },
        {
          "columns": "A few times per month",
          "rows": "Casual...