Init with API call new Flexmonster (with the toolbar)

Embedding Flexmonster

HTML

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

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

JavaScript

var pivot = new Flexmonster({
	container: "pivot-container",
  componentFolder: "https://cdn.flexmonster.com/",
    toolbar: true,
    report: {
      dataSource: {
        dataSourceType: "csv",
        filename: "data/data.csv"
      },
      options: {
        grid: {
          type: "classic"
        },
        configuratorActive: false
      },
      slice: {
        rows: [{
          uniqueName: "Country"
        }, {
          uniqueName: "Business Type"
        }],
        columns: [{
          uniqueName: "Color"
        }, {
          uniqueName: "[Measures]"
        }],
        measures: [{
          uniqueName: "Price"
        }],
        expandAll: true
      }
    },
    width: "100%",
    height: 370
	});