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://cdn.flexmonster.com/flexmonster.js"></script>

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

JavaScript

var pivot = new Flexmonster({
  container: "pivotContainer",
  componentFolder: "https://cdn.flexmonster.com/",
  toolbar: true,
  report: {
    dataSource: {
      filename: "https://www.flexmonster.com/fm_uploads/2020/03/data.csv"
    },
    options: {
      "showEmptyData": false,
      "grid": {
        "showTotals": "off",
        "showGrandTotals": "off"
      },
      viewType: 'charts',
      "chart": {
        "type": "line",
        showDataLabels: true,
        showFilter: true,
        reversedAxes: true,
        title: "Current rental income",
        "multipleMeasures": true
      }
    }
  }
});