{
  "script": {
    "steps": [],
    "maxProcessedMemTableBytes": -1,
    "columnsSelection": {
      "mode": "ALL"
    },
    "columnOrder": [],
    "columnWidthsByName": {},
    "columnUseScientificNotationByName": {},
    "coloring": {
      "scheme": "MEANING_AND_STATUS",
      "individualColumns": [],
      "individualColumnsRules": [],
      "valueColoringMode": "HASH",
      "coloringGroups": []
    },
    "sorting": [],
    "analysisColumnData": {},
    "explorationSampling": {
      "selection": {
        "maxRecordsForDisplay": -1,
        "maxStoredBytes": -1,
        "timeout": -1,
        "filter": {
          "distinct": false,
          "enabled": false
        },
        "partitionSelectionMethod": "ALL",
        "latestPartitionsN": 1,
        "ordering": {
          "enabled": false,
          "rules": []
        },
        "samplingMethod": "HEAD_SEQUENTIAL",
        "maxRecords": 10000,
        "targetRatio": 0.02,
        "ascending": true,
        "withinFirstN": -1,
        "maxReadUncompressedBytes": -1
      },
      "autoRefreshSample": false,
      "_refreshTrigger": 0
    },
    "vizSampling": {
      "selection": {
        "useMemTable": false,
        "filter": {
          "distinct": false,
          "enabled": false
        },
        "partitionSelectionMethod": "ALL",
        "latestPartitionsN": 1,
        "ordering": {
          "enabled": false,
          "rules": []
        },
        "samplingMethod": "FULL",
        "maxRecords": -1,
        "targetRatio": 0.02,
        "ascending": true,
        "withinFirstN": -1,
        "maxReadUncompressedBytes": -1
      },
      "autoRefreshSample": false,
      "_refreshTrigger": 0
    },
    "exploreUIParams": {},
    "globalSearchQuery": "",
    "explorationFilters": [],
    "previewMode": "ALL_ROWS"
  },
  "charts": [
    {
      "copySelectionFromScript": true,
      "engineType": "LINO",
      "def": {
        "type": "grouped_columns",
        "variant": "normal",
        "name": "Count by purchase_date",
        "userEditedName": true,
        "displayWithEChartsByDefault": true,
        "genericDimension0": [
          {
            "numParams": {
              "mode": "FIXED_NB",
              "emptyBinsMode": "AVERAGE",
              "binSize": 1.0,
              "niceBounds": false,
              "customBinValues": [],
              "nbBins": 10
            },
            "dateParams": {
              "mode": "MONTH",
              "maxBinNumberForAutomaticMode": 0
            },
            "maxValues": 0,
            "generateOthersCategory": true,
            "forceLastPositionOthers": false,
            "oneTickPerBin": "NO",
            "filters": [],
            "isA": "dimension",
            "possibleSorts": [
              {
                "type": "NATURAL",
                "label": "Natural ordering",
                "sortAscending": true
              },
              {
                "type": "AGGREGATION",
                "measureIdx": 0,
                "label": "Count of records, descending"
              },
              {
                "type": "AGGREGATION",
                "measureIdx": 0,
                "sortAscending": true,
                "label": "Count of records, ascending"
              }
            ],
            "sort": {
              "type": "NATURAL",
              "label": "Natural ordering",
              "sortAscending": true
            },
            "prefix": "",
            "suffix": "",
            "multiplier": "Auto",
            "hideTrailingZeros": true,
            "digitGrouping": "DEFAULT",
            "useParenthesesForNegativeValues": false,
            "shouldFormatInPercentage": false,
            "column": "purchase_date",
            "type": "DATE"
          }
        ],
        "genericDimension1": [],
        "facetDimension": [],
        "animationDimension": [],
        "genericMeasures": [
          {
            "function": "COUNT",
            "type": "NUMERICAL",
            "displayed": true,
            "isA": "measure",
            "displayAxis": "axis1",
            "displayType": "column",
            "computeMode": "NORMAL",
            "computeModeDim": 0,
            "multiplier": "Auto",
            "digitGrouping": "DEFAULT",
            "useParenthesesForNegativeValues": false,
            "shouldFormatInPercentage": false,
            "hideTrailingZeros": true,
            "prefix": "",
            "suffix": "",
            "showValue": true,
            "showDisplayLabel": true,
            "labelPosition": "BOTTOM",
            "labelFontSize": 16,
            "percentile": 50.0,
            "isCustomPercentile": false,
            "kpiTextAlign": "CENTER",
            "kpiValueFontSizeMode": "RESPONSIVE",
            "kpiValueFontSize": 32,
            "responsiveTextAreaFill": 100,
            "valueTextFormatting": {
              "fontSize": 11,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "labelTextFormatting": {
              "fontSize": 11,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "valuesInChartDisplayOptions": {
              "displayValues": true,
              "textFormatting": {
                "fontSize": 11,
                "fontColor": "AUTO",
                "hasBackground": false,
                "backgroundColor": "#D9D9D9BF"
              },
              "addDetails": false,
              "additionalMeasures": []
            },
            "colorRules": []
          }
        ],
        "xDimension": [],
        "yDimension": [],
        "uaXDimension": [],
        "uaYDimension": [],
        "uaDimensionPair": [],
        "uaSize": [],
        "uaColor": [],
        "uaShape": [],
        "uaTooltip": [],
        "groupDimension": [],
        "xMeasure": [],
        "yMeasure": [],
        "colorMeasure": [],
        "sizeMeasure": [],
        "geometry": [],
        "geoLayers": [
          {
            "geometry": [],
            "colorOptions": {
              "ccScaleMode": "NORMAL",
              "paletteType": "CONTINUOUS",
              "quantizationMode": "NONE",
              "numQuantizeSteps": 5,
              "paletteMiddleValue": 0.0,
              "heatDensityMapIntensity": 0.5,
              "heatDensityMapRadius": 0.5,
              "singleColor": "#2678B1",
              "transparency": 0.75,
              "colorPalette": "default",
              "customPalette": {
                "id": "__dku_custom__",
                "name": "Custom Palette",
                "colors": [],
                "values": [],
                "fixedValues": false
              },
              "customColors": {}
            },
            "uaColor": []
          }
        ],
        "tooltipMeasures": [],
        "boxplotBreakdownDim": [],
        "boxplotValue": [],
        "filters": [],
        "xAxisFormatting": {
          "displayAxis": true,
          "showAxisTitle": true,
          "axisTitleFormatting": {
            "fontSize": 15,
            "fontColor": "#333333",
            "hasBackground": false
          },
          "axisValuesFormatting": {
            "numberFormatting": {
              "multiplier": "Auto",
              "hideTrailingZeros": true,
              "digitGrouping": "DEFAULT",
              "useParenthesesForNegativeValues": false,
              "shouldFormatInPercentage": false,
              "prefix": "",
              "suffix": ""
            },
            "axisTicksFormatting": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            }
          },
          "ticksConfig": {
            "mode": "INTERVAL"
          },
          "customExtent": {
            "editMode": "AUTO",
            "manualExtent": [
              null,
              null
            ]
          },
          "isLogScale": false,
          "includeZero": true
        },
        "yAxesFormatting": [
          {
            "id": "y_left_0",
            "displayAxis": true,
            "showAxisTitle": true,
            "axisTitleFormatting": {
              "fontSize": 15,
              "fontColor": "#333333",
              "hasBackground": false
            },
            "axisValuesFormatting": {
              "numberFormatting": {
                "multiplier": "Auto",
                "hideTrailingZeros": true,
                "digitGrouping": "DEFAULT",
                "useParenthesesForNegativeValues": false,
                "shouldFormatInPercentage": false,
                "prefix": "",
                "suffix": ""
              },
              "axisTicksFormatting": {
                "fontSize": 12,
                "fontColor": "#333333",
                "hasBackground": false,
                "fontFamily": "SourceSansPro"
              }
            },
            "ticksConfig": {
              "mode": "INTERVAL"
            },
            "customExtent": {
              "editMode": "AUTO",
              "manualExtent": [
                null,
                null
              ]
            },
            "isLogScale": false,
            "includeZero": true
          },
          {
            "id": "y_right_0",
            "displayAxis": true,
            "showAxisTitle": true,
            "axisTitleFormatting": {
              "fontSize": 15,
              "fontColor": "#333333",
              "hasBackground": false
            },
            "axisValuesFormatting": {
              "numberFormatting": {
                "multiplier": "Auto",
                "hideTrailingZeros": true,
                "digitGrouping": "DEFAULT",
                "useParenthesesForNegativeValues": false,
                "shouldFormatInPercentage": false,
                "prefix": "",
                "suffix": ""
              },
              "axisTicksFormatting": {
                "fontSize": 12,
                "fontColor": "#333333",
                "hasBackground": false,
                "fontFamily": "SourceSansPro"
              }
            },
            "ticksConfig": {
              "mode": "INTERVAL"
            },
            "customExtent": {
              "editMode": "AUTO",
              "manualExtent": [
                null,
                null
              ]
            },
            "isLogScale": false,
            "includeZero": true
          }
        ],
        "radialAxisFormatting": {
          "showAxisTitle": false,
          "axisTitleFormatting": {
            "fontSize": 15,
            "fontColor": "#333333",
            "hasBackground": false
          },
          "ticksConfig": {
            "mode": "INTERVAL"
          },
          "customExtent": {},
          "isLogScale": false,
          "includeZero": true
        },
        "smoothing": true,
        "showLegend": true,
        "strokeWidth": 2,
        "fillOpacity": 0.6,
        "tooltipOptions": {
          "display": true
        },
        "hexbinRadius": 20,
        "hexbinNumber": 20,
        "hexbinRadiusMode": "NUM_HEXAGONS",
        "valuesInChartDisplayOptions": {
          "displayValues": false,
          "displayPieLabelsOrValues": true,
          "displayMode": "LABELS",
          "overlappingStrategy": "AUTO",
          "spacing": 2,
          "placementMode": "AUTO",
          "textFormatting": {
            "fontSize": 11,
            "fontColor": "AUTO",
            "hasBackground": false,
            "backgroundColor": "#D9D9D9BF"
          }
        },
        "stackedColumnsOptions": {
          "totalsInChartDisplayOptions": {
            "textFormatting": {
              "fontSize": 11,
              "fontColor": "#333",
              "hasBackground": false
            },
            "addDetails": false,
            "additionalMeasures": []
          }
        },
        "chartHeight": 200,
        "singleXAxis": true,
        "multiTooltips": false,
        "animationFrameDuration": 3000,
        "animationRepeat": true,
        "colorMode": "UNIQUE_SCALE",
        "colorOptions": {
          "ccScaleMode": "NORMAL",
          "paletteType": "CONTINUOUS",
          "quantizationMode": "NONE",
          "numQuantizeSteps": 5,
          "paletteMiddleValue": 0.0,
          "heatDensityMapIntensity": 0.5,
          "heatDensityMapRadius": 0.5,
          "singleColor": "#1f77b4",
          "transparency": 0.75,
          "colorPalette": "default_theme",
          "customPalette": {
            "id": "__dku_custom__",
            "name": "Custom Palette",
            "colors": [],
            "values": [],
            "fixedValues": false
          },
          "customColors": {}
        },
        "colorGroups": [],
        "bubblesOptions": {
          "defaultRadius": 5.0,
          "singleShape": "FILLED_CIRCLE"
        },
        "computeMode": "NORMAL",
        "xAxisMode": "NORMAL",
        "yAxisMode": "NORMAL",
        "pieOptions": {
          "donutHoleSize": 54.0
        },
        "scatterZoomOptions": {
          "scale": [
            1.0,
            1.0
          ],
          "translate": [
            0.0,
            0.0
          ],
          "chartWidth": 0.0,
          "enabled": true,
          "persisted": true
        },
        "linesZoomOptions": {
          "displayBrush": true,
          "enabled": true,
          "persisted": true
        },
        "scatterOptions": {
          "equalScales": false,
          "identityLine": false,
          "connectPoints": {
            "enabled": false,
            "splitBy": "COLOR",
            "lineFormatting": {
              "color": "#000",
              "size": 1
            }
          },
          "optimizeRendering": false,
          "regression": {
            "show": false,
            "displayFormula": false,
            "type": "LINEAR",
            "labelPosition": "INSIDE_END",
            "lineFormatting": {
              "color": "#000",
              "size": 1
            },
            "textFormatting": {
              "fontSize": 11,
              "fontColor": "#333333",
              "hasBackground": false,
              "backgroundColor": "#D9D9D9BF",
              "fontFamily": "SourceSansPro"
            }
          },
          "numberOfRecords": 100000.0
        },
        "scatterMPOptions": {
          "connectPoints": {
            "enabled": false,
            "splitBy": "COLOR",
            "lineFormatting": {
              "color": "#000",
              "size": 1
            }
          },
          "optimizeRendering": false,
          "pairColorOptions": {
            "singleColor": "#659a88",
            "transparency": 0.75,
            "colorPalette": "default",
            "customPalette": {
              "id": "__dku_custom__",
              "name": "Custom Palette",
              "colors": [],
              "values": [],
              "fixedValues": false
            },
            "customColors": {}
          },
          "numberOfRecords": 100000.0
        },
        "mapOptions": {
          "tilesLayer": "cartodb-positron",
          "lockSquareGrid": false
        },
        "mapGridOptions": {
          "gridLonDeg": 0.5,
          "gridLatDeg": 0.5
        },
        "radarOptions": {
          "filled": false,
          "polygonsSource": "MEASURES",
          "lineStyle": {
            "width": 2.0,
            "type": "SOLID"
          }
        },
        "sankeyOptions": {
          "curveness": 0.5,
          "linkColorVariant": "GRADIENT",
          "nodeLabelFormatting": {
            "fontSize": 11,
            "fontColor": "#333333",
            "hasBackground": false,
            "backgroundColor": "#D9D9D9BF",
            "fontFamily": "SourceSansPro"
          }
        },
        "gaugeOptions": {
          "min": {
            "sourceType": "Constant",
            "percentile": 0.0,
            "isCustomPercentile": false,
            "constantValue": 0.0,
            "constantDateValue": 0.0,
            "defaultConstantValue": 0.0,
            "ignoreExistingFilters": false
          },
          "max": {
            "sourceType": "Constant",
            "percentile": 0.0,
            "isCustomPercentile": false,
            "constantValue": 0.0,
            "constantDateValue": 0.0,
            "defaultConstantValue": 0.0,
            "ignoreExistingFilters": false
          },
          "axis": {
            "ticksConfig": {
              "mode": "INTERVAL"
            },
            "axisValuesFormatting": {
              "numberFormatting": {
                "multiplier": "Auto",
                "hideTrailingZeros": true,
                "digitGrouping": "DEFAULT",
                "useParenthesesForNegativeValues": false,
                "shouldFormatInPercentage": false,
                "prefix": "",
                "suffix": ""
              },
              "axisTicksFormatting": {
                "fontSize": 12,
                "fontColor": "#333333",
                "hasBackground": false,
                "fontFamily": "SourceSansPro"
              }
            },
            "thickness": 30,
            "customRanges": false
          },
          "displayPointer": false
        },
        "thumbnailData": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAABQCAYAAADSm7GJAAAAAXNSR0IArs4c6QAAA+5JREFUeF7tnU1oE0EUx2d20w9BL1VBaNON6KnqsV68CPXQNqmIB0Fv9SCelGK+xB7WgzWJ9eLNk3oTQfFjtyhFxKNXsYJQ6CYqRUSK0uIHSUYmjfWy053S6bKz/HOdlzdv/r+8vJ2vhBK8Yq0AjfXoMDgCwDH/EAAwAMdcgZgPDxkMwDFXIObDQwYDcMwViPnwkMEAHHMFNB1eKueebhrssCj8WjkzwduQwRoDZgY75xc+JfSDV06fB2BN4fKweQYDsMYAg0IH4CCFNG8HYM0BBoUPwEEKRbS9b+J5j9lVvyoKjxLzplca8QA4ogCDwmoB7qw/FAKm5jgAB6kY4XYAjjAcFaEBsAoVI+wDgCMMR0VoAKxCRcU++vPPhgyDXvBzyxhpVMuZk63Vp7xTEnZN6YJXTt8GYMVwVLjjgCmlkwJfS/8AW3m3QigbFKwf3wdgFTS2wAcAb4GoYbm0is5Z4Zy0Xp/zpk+8AeCwaGygn978TJ8QXEeDfbo29pm3WwVnlhCS8P1abdSLALwB0cM0tQrOLULIIV9wjNz1Kpl7ABwmEcV9AbBiQaPmDoCjRkRxPACsWNCouQPgqBFRHA8AKxY0au4AOGpEFMcDwIoFDctdf+7JEUKNblF/tcrYy/b8FvPgsKDI9jNgP+gU2b63T/1pg0sTQrK+dowsViuZMwAsq7iUHVvn9gRlUi64kf0qYf1c4cuGvi/DNC8uTI28tQoOAId1syFZfDpoMKMiYML3SY8B8KoClFD9tgtlAVsFd5KQ5lFf2NR4US2lbyCD2x+EKJ2q3BhgNuQPmM4A8H9lKACjBgfeLuy9/GinqDZ2dH1f8ezxXzK1ExncUil6R3asgsNP1vf4QWSMTtUq6dlU0Z0gpJkSPNMueaW0DcCaA2aMHfcDTCl9DcBryuibwQCs6ZEd2a9oAAZgqYWO1XkwpkmhnYtGBsf80B0AA3BrmoQajBqMGqzzQgcyGBmMDEYG8/s/mCaFuh+Mp2g8ReMpmp/C0PV2ITIYGYwMRgZjP7i9YYjtQjxFh3yqEjUYNRg1GDUYNRg1uH2zATU45BqczDoHRcdizYS5zH+veD0b/t6P05l3qZy7p8HYLpEvbsPbZHwRwmgy6x4Q+erqML7MXx/9mszN7COsuW0zfVIzwWrl4bmg2IzOxLfq1PDi3iuuVf/NdmymzzXN7DvdjeXd+4Xj3G7U5u3RH/2XHg8wmjCC+sTf6sgc8NbYBoA1hicTOgDLqKSxDQBrDE8mdACWUUljGwDWGJ5M6AAso5LGNgCsMTyZ0AFYRiWNbQBYY3gyoQOwjEoa2wCwxvBkQgdgGZU0tgFgjeHJhP4X5t7L5/5TnsIAAAAASUVORK5CYII\u003d",
        "useLiveProcessingIfAvailable": true,
        "legendPlacement": "OUTER_RIGHT",
        "legendFormatting": {
          "fontSize": 11,
          "fontColor": "#333333",
          "hasBackground": false
        },
        "pivotTableOptions": {
          "displayEmptyValues": false,
          "showSidebar": true,
          "measureDisplayMode": "ROWS",
          "displayTotals": {
            "subTotals": {
              "rows": true,
              "columns": true
            },
            "grandTotal": {
              "row": true,
              "column": true
            }
          },
          "tableFormatting": {
            "showRowHeaders": true,
            "showRowMainHeaders": true,
            "rowMainHeaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "rowSubheaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "freezeRowHeaders": false,
            "showColumnHeaders": true,
            "showColumnMainHeaders": true,
            "columnMainHeaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "columnSubheaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "values": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "rowHeaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "columnHeaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            }
          },
          "areRowsExpandedByDefault": true,
          "areColumnExpandedByDefault": true,
          "rowIdByCustomExpandedStatus": {},
          "columnIdByCustomExpandedStatus": {},
          "columnIdByCustomWidth": {}
        },
        "gridlinesOptions": {
          "vertical": {
            "show": false,
            "lineFormatting": {
              "type": "FILLED",
              "color": "#d9d9d9",
              "size": 1
            }
          },
          "horizontal": {
            "show": true,
            "displayAxis": {
              "type": "LEFT_Y_AXIS"
            },
            "lineFormatting": {
              "type": "FILLED",
              "color": "#d9d9d9",
              "size": 1
            }
          }
        }
      },
      "theme": {
        "id": "__dku_dss_default_theme__",
        "name": "DSS Default",
        "colors": [
          "#1f77b4",
          "#aec7e8",
          "#ff7f0e",
          "#ffbb78",
          "#2ca02c",
          "#98df8a",
          "#d62728",
          "#ff9896",
          "#9467bd",
          "#c5b0d5",
          "#8c564b",
          "#c49c94",
          "#e377c2",
          "#f7b6d2",
          "#7f7f7f",
          "#c7c7c7"
        ],
        "themePalettes": {
          "discrete": {
            "id": "default_theme",
            "name": "Theme default",
            "category": "Built-in palettes",
            "colors": [
              "#1f77b4",
              "#aec7e8",
              "#ff7f0e",
              "#ffbb78",
              "#2ca02c",
              "#98df8a",
              "#d62728",
              "#ff9896",
              "#9467bd",
              "#c5b0d5",
              "#8c564b",
              "#c49c94",
              "#e377c2",
              "#f7b6d2",
              "#7f7f7f",
              "#c7c7c7",
              "#bcbd22",
              "#dbdb8d",
              "#17becf",
              "#9edae5",
              "#393b79",
              "#5254a3",
              "#6b6ecf",
              "#9c9ede",
              "#637939",
              "#8ca252",
              "#b5cf6b",
              "#cedb9c",
              "#8c6d31",
              "#bd9e39",
              "#e7ba52",
              "#e7cb94",
              "#843c39",
              "#ad494a",
              "#d6616b",
              "#e7969c",
              "#7b4173",
              "#a55194",
              "#ce6dbd",
              "#de9ed6"
            ],
            "sample": [
              "#1f77b4",
              "#aec7e8",
              "#ff7f0e",
              "#ffbb78",
              "#2ca02c"
            ],
            "isCustom": false
          },
          "continuous": [
            {
              "id": "default_theme",
              "name": "Theme default",
              "category": "Built-in palettes",
              "colors": [
                "#9999CC",
                "#00003c"
              ],
              "isCustom": false
            },
            {
              "id": "default_theme_rev",
              "name": "Theme default (rev)",
              "category": "Built-in palettes",
              "colors": [
                "#00003c",
                "#9999CC"
              ],
              "isCustom": false
            }
          ],
          "diverging": {
            "id": "default_theme",
            "name": "Theme default",
            "category": "Built-in palettes",
            "colors": [
              "rgb(158,1,66)",
              "rgb(213,62,79)",
              "rgb(244,109,67)",
              "rgb(253,174,97)",
              "rgb(254,224,139)",
              "rgb(255,255,191)",
              "rgb(230,245,152)",
              "rgb(171,221,164)",
              "rgb(102,194,165)",
              "rgb(50,136,189)",
              "rgb(94,79,162)"
            ],
            "isCustom": false
          }
        },
        "palettes": {
          "discrete": "default_theme",
          "continuous": "default_theme",
          "diverging": "default_theme"
        },
        "generalFormatting": {
          "fontSize": 11,
          "fontColor": "#333333",
          "hasBackground": false,
          "fontFamily": "SourceSansPro"
        },
        "pageTitleFormatting": {
          "fontSize": 28,
          "fontColor": "#444444",
          "hasBackground": false
        },
        "tileTitleFormatting": {
          "fontSize": 13,
          "fontColor": "#000000",
          "hasBackground": false
        },
        "chartTitleFormatting": {
          "fontSize": 15,
          "fontColor": "#333333",
          "hasBackground": false
        },
        "legendFormatting": {
          "fontSize": 11,
          "fontColor": "#333333",
          "hasBackground": false
        },
        "pageTitleAlignment": "CENTER",
        "backgroundColor": "#FFFFFF",
        "tileSpacing": 8,
        "tileFormatting": {
          "borderOptions": {
            "color": "#CCCCCC",
            "radius": 0,
            "size": 1
          },
          "backgroundOpacity": 1.0
        },
        "isCustomized": false,
        "isBuiltIn": true
      }
    },
    {
      "copySelectionFromScript": true,
      "engineType": "LINO",
      "def": {
        "type": "pivot_table",
        "variant": "normal",
        "name": "Purchase amount average",
        "userEditedName": true,
        "displayWithEChartsByDefault": true,
        "genericDimension0": [],
        "genericDimension1": [],
        "facetDimension": [],
        "animationDimension": [],
        "genericMeasures": [
          {
            "column": "purchase_amount",
            "function": "AVG",
            "type": "NUMERICAL",
            "displayed": true,
            "isA": "measure",
            "displayAxis": "axis1",
            "displayType": "column",
            "computeMode": "NORMAL",
            "computeModeDim": 0,
            "multiplier": "Auto",
            "digitGrouping": "DEFAULT",
            "useParenthesesForNegativeValues": false,
            "shouldFormatInPercentage": false,
            "hideTrailingZeros": true,
            "prefix": "",
            "suffix": "",
            "showValue": true,
            "showDisplayLabel": true,
            "labelPosition": "BOTTOM",
            "labelFontSize": 16,
            "percentile": 50.0,
            "isCustomPercentile": false,
            "kpiTextAlign": "CENTER",
            "kpiValueFontSizeMode": "RESPONSIVE",
            "kpiValueFontSize": 32,
            "responsiveTextAreaFill": 100,
            "valueTextFormatting": {
              "fontSize": 11,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "labelTextFormatting": {
              "fontSize": 11,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "valuesInChartDisplayOptions": {
              "displayValues": true,
              "textFormatting": {
                "fontSize": 11,
                "fontColor": "AUTO",
                "hasBackground": false
              },
              "addDetails": false,
              "additionalMeasures": []
            },
            "colorRules": []
          }
        ],
        "xDimension": [
          {
            "numParams": {
              "mode": "FIXED_NB",
              "emptyBinsMode": "ZEROS",
              "binSize": 1.0,
              "niceBounds": false,
              "customBinValues": [],
              "nbBins": 10
            },
            "maxValues": 20,
            "generateOthersCategory": true,
            "forceLastPositionOthers": false,
            "oneTickPerBin": "NO",
            "filters": [],
            "isA": "dimension",
            "possibleSorts": [
              {
                "type": "NATURAL",
                "label": "Natural ordering",
                "sortAscending": true
              },
              {
                "type": "AGGREGATION",
                "measureIdx": 0,
                "label": "Average of purchase_amount, descending"
              },
              {
                "type": "AGGREGATION",
                "measureIdx": 0,
                "sortAscending": true,
                "label": "Average of purchase_amount, ascending"
              }
            ],
            "sort": {
              "type": "NATURAL",
              "label": "Natural ordering",
              "sortAscending": true
            },
            "prefix": "",
            "suffix": "",
            "multiplier": "Auto",
            "hideTrailingZeros": true,
            "digitGrouping": "DEFAULT",
            "useParenthesesForNegativeValues": false,
            "shouldFormatInPercentage": false,
            "column": "item_category",
            "type": "ALPHANUM"
          },
          {
            "numParams": {
              "mode": "NONE",
              "emptyBinsMode": "ZEROS",
              "binSize": 100.0,
              "niceBounds": false,
              "customBinValues": [],
              "nbBins": 30
            },
            "maxValues": 100,
            "generateOthersCategory": true,
            "forceLastPositionOthers": false,
            "oneTickPerBin": "NO",
            "filters": [],
            "isA": "dimension",
            "possibleSorts": [
              {
                "type": "NATURAL",
                "label": "Natural ordering",
                "sortAscending": true
              },
              {
                "type": "AGGREGATION",
                "measureIdx": 0,
                "label": "Average of purchase_amount, descending"
              },
              {
                "type": "AGGREGATION",
                "measureIdx": 0,
                "sortAscending": true,
                "label": "Average of purchase_amount, ascending"
              }
            ],
            "sort": {
              "type": "NATURAL",
              "label": "Natural ordering",
              "sortAscending": true
            },
            "prefix": "",
            "suffix": "",
            "multiplier": "Auto",
            "hideTrailingZeros": true,
            "digitGrouping": "DEFAULT",
            "useParenthesesForNegativeValues": false,
            "shouldFormatInPercentage": false,
            "column": "authorized_flag",
            "type": "NUMERICAL"
          }
        ],
        "yDimension": [
          {
            "numParams": {
              "mode": "FIXED_NB",
              "emptyBinsMode": "ZEROS",
              "binSize": 100.0,
              "niceBounds": false,
              "customBinValues": [],
              "nbBins": 10
            },
            "maxValues": 100,
            "generateOthersCategory": true,
            "forceLastPositionOthers": false,
            "oneTickPerBin": "NO",
            "filters": [],
            "isA": "dimension",
            "possibleSorts": [
              {
                "type": "NATURAL",
                "label": "Natural ordering",
                "sortAscending": true
              },
              {
                "type": "AGGREGATION",
                "measureIdx": 0,
                "label": "Average of purchase_amount, descending"
              },
              {
                "type": "AGGREGATION",
                "measureIdx": 0,
                "sortAscending": true,
                "label": "Average of purchase_amount, ascending"
              }
            ],
            "sort": {
              "type": "NATURAL",
              "label": "Natural ordering",
              "sortAscending": true
            },
            "prefix": "",
            "suffix": "",
            "multiplier": "Auto",
            "hideTrailingZeros": true,
            "digitGrouping": "DEFAULT",
            "useParenthesesForNegativeValues": false,
            "shouldFormatInPercentage": false,
            "column": "cardholder_fico_score",
            "type": "NUMERICAL"
          }
        ],
        "uaXDimension": [],
        "uaYDimension": [],
        "uaDimensionPair": [],
        "uaSize": [],
        "uaColor": [],
        "uaShape": [],
        "uaTooltip": [],
        "groupDimension": [],
        "xMeasure": [],
        "yMeasure": [],
        "colorMeasure": [
          {
            "column": "purchase_amount",
            "function": "AVG",
            "type": "NUMERICAL",
            "displayed": true,
            "isA": "measure",
            "displayAxis": "axis1",
            "displayType": "column",
            "computeMode": "NORMAL",
            "computeModeDim": 0,
            "multiplier": "Auto",
            "digitGrouping": "DEFAULT",
            "useParenthesesForNegativeValues": false,
            "shouldFormatInPercentage": false,
            "hideTrailingZeros": true,
            "prefix": "",
            "suffix": "",
            "percentile": 50.0,
            "isCustomPercentile": false,
            "kpiTextAlign": "CENTER",
            "responsiveTextAreaFill": 0,
            "valueTextFormatting": {
              "fontSize": 11,
              "fontColor": "#333",
              "hasBackground": false
            },
            "labelTextFormatting": {
              "fontSize": 11,
              "fontColor": "#333",
              "hasBackground": false
            },
            "colorRules": []
          }
        ],
        "sizeMeasure": [],
        "geometry": [],
        "geoLayers": [
          {
            "geometry": [],
            "colorOptions": {
              "ccScaleMode": "NORMAL",
              "paletteType": "CONTINUOUS",
              "quantizationMode": "NONE",
              "numQuantizeSteps": 5,
              "paletteMiddleValue": 0.0,
              "heatDensityMapIntensity": 0.5,
              "heatDensityMapRadius": 0.5,
              "singleColor": "#2678B1",
              "transparency": 0.75,
              "colorPalette": "default",
              "customPalette": {
                "id": "__dku_custom__",
                "name": "Custom Palette",
                "colors": [],
                "values": [],
                "fixedValues": false
              },
              "customColors": {}
            },
            "uaColor": []
          }
        ],
        "tooltipMeasures": [],
        "boxplotBreakdownDim": [],
        "boxplotValue": [],
        "filters": [],
        "xAxisFormatting": {
          "displayAxis": true,
          "showAxisTitle": true,
          "axisTitleFormatting": {
            "fontSize": 15,
            "fontColor": "#333333",
            "hasBackground": false
          },
          "axisValuesFormatting": {
            "numberFormatting": {
              "multiplier": "Auto",
              "hideTrailingZeros": true,
              "digitGrouping": "DEFAULT",
              "useParenthesesForNegativeValues": false,
              "shouldFormatInPercentage": false,
              "prefix": "",
              "suffix": ""
            },
            "axisTicksFormatting": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            }
          },
          "ticksConfig": {
            "mode": "INTERVAL"
          },
          "customExtent": {
            "editMode": "AUTO",
            "manualExtent": [
              null,
              null
            ]
          },
          "isLogScale": false,
          "includeZero": true
        },
        "yAxesFormatting": [
          {
            "id": "y_left_0",
            "displayAxis": true,
            "showAxisTitle": true,
            "axisTitleFormatting": {
              "fontSize": 15,
              "fontColor": "#333333",
              "hasBackground": false
            },
            "axisValuesFormatting": {
              "numberFormatting": {
                "multiplier": "Auto",
                "hideTrailingZeros": true,
                "digitGrouping": "DEFAULT",
                "useParenthesesForNegativeValues": false,
                "shouldFormatInPercentage": false,
                "prefix": "",
                "suffix": ""
              },
              "axisTicksFormatting": {
                "fontSize": 12,
                "fontColor": "#333333",
                "hasBackground": false,
                "fontFamily": "SourceSansPro"
              }
            },
            "ticksConfig": {
              "mode": "INTERVAL"
            },
            "customExtent": {
              "editMode": "AUTO",
              "manualExtent": [
                null,
                null
              ]
            },
            "isLogScale": false,
            "includeZero": true
          },
          {
            "id": "y_right_0",
            "displayAxis": true,
            "showAxisTitle": true,
            "axisTitleFormatting": {
              "fontSize": 15,
              "fontColor": "#333333",
              "hasBackground": false
            },
            "axisValuesFormatting": {
              "numberFormatting": {
                "multiplier": "Auto",
                "hideTrailingZeros": true,
                "digitGrouping": "DEFAULT",
                "useParenthesesForNegativeValues": false,
                "shouldFormatInPercentage": false,
                "prefix": "",
                "suffix": ""
              },
              "axisTicksFormatting": {
                "fontSize": 12,
                "fontColor": "#333333",
                "hasBackground": false,
                "fontFamily": "SourceSansPro"
              }
            },
            "ticksConfig": {
              "mode": "INTERVAL"
            },
            "customExtent": {
              "editMode": "AUTO",
              "manualExtent": [
                null,
                null
              ]
            },
            "isLogScale": false,
            "includeZero": true
          }
        ],
        "radialAxisFormatting": {
          "showAxisTitle": false,
          "axisTitleFormatting": {
            "fontSize": 15,
            "fontColor": "#333333",
            "hasBackground": false
          },
          "ticksConfig": {
            "mode": "INTERVAL"
          },
          "customExtent": {},
          "isLogScale": false,
          "includeZero": true
        },
        "smoothing": true,
        "showLegend": true,
        "strokeWidth": 2,
        "fillOpacity": 0.6,
        "tooltipOptions": {
          "display": true
        },
        "hexbinRadius": 20,
        "hexbinNumber": 20,
        "hexbinRadiusMode": "NUM_HEXAGONS",
        "valuesInChartDisplayOptions": {
          "displayValues": false,
          "displayPieLabelsOrValues": true,
          "displayMode": "LABELS",
          "overlappingStrategy": "AUTO",
          "placementMode": "AUTO",
          "textFormatting": {
            "fontSize": 11,
            "fontColor": "AUTO",
            "hasBackground": false
          }
        },
        "stackedColumnsOptions": {
          "totalsInChartDisplayOptions": {
            "textFormatting": {
              "fontSize": 11,
              "fontColor": "#333",
              "hasBackground": false
            },
            "addDetails": false,
            "additionalMeasures": []
          }
        },
        "chartHeight": 200,
        "singleXAxis": true,
        "multiTooltips": false,
        "animationFrameDuration": 3000,
        "animationRepeat": true,
        "colorMode": "UNIQUE_SCALE",
        "colorOptions": {
          "ccScaleMode": "NORMAL",
          "paletteType": "CONTINUOUS",
          "quantizationMode": "NONE",
          "numQuantizeSteps": 5,
          "paletteMiddleValue": 0.0,
          "heatDensityMapIntensity": 0.5,
          "heatDensityMapRadius": 0.5,
          "singleColor": "#1f77b4",
          "transparency": 0.75,
          "colorPalette": "default_theme",
          "customPalette": {
            "id": "__dku_custom__",
            "name": "Custom Palette",
            "colors": [],
            "values": [],
            "fixedValues": false
          },
          "customColors": {}
        },
        "colorGroups": [],
        "bubblesOptions": {
          "defaultRadius": 5.0,
          "singleShape": "FILLED_CIRCLE"
        },
        "computeMode": "NORMAL",
        "xAxisMode": "NORMAL",
        "yAxisMode": "NORMAL",
        "pieOptions": {
          "donutHoleSize": 54.0
        },
        "scatterZoomOptions": {
          "scale": [
            1.0,
            1.0
          ],
          "translate": [
            0.0,
            0.0
          ],
          "chartWidth": 0.0,
          "enabled": true,
          "persisted": true
        },
        "linesZoomOptions": {
          "displayBrush": true,
          "enabled": true,
          "persisted": true
        },
        "scatterOptions": {
          "equalScales": false,
          "identityLine": false,
          "connectPoints": {
            "enabled": false,
            "splitBy": "COLOR",
            "lineFormatting": {
              "color": "#000",
              "size": 1
            }
          },
          "optimizeRendering": false,
          "regression": {
            "show": false,
            "displayFormula": false,
            "type": "LINEAR",
            "labelPosition": "INSIDE_END",
            "lineFormatting": {
              "color": "#000",
              "size": 1
            },
            "textFormatting": {
              "fontSize": 11,
              "fontColor": "#333333",
              "hasBackground": false,
              "backgroundColor": "#D9D9D9BF",
              "fontFamily": "SourceSansPro"
            }
          },
          "numberOfRecords": 100000.0
        },
        "scatterMPOptions": {
          "connectPoints": {
            "enabled": false,
            "splitBy": "COLOR",
            "lineFormatting": {
              "color": "#000",
              "size": 1
            }
          },
          "optimizeRendering": false,
          "pairColorOptions": {
            "singleColor": "#659a88",
            "transparency": 0.75,
            "colorPalette": "default",
            "customPalette": {
              "id": "__dku_custom__",
              "name": "Custom Palette",
              "colors": [],
              "values": [],
              "fixedValues": false
            },
            "customColors": {}
          },
          "numberOfRecords": 100000.0
        },
        "mapOptions": {
          "tilesLayer": "cartodb-positron",
          "lockSquareGrid": false
        },
        "mapGridOptions": {
          "gridLonDeg": 0.5,
          "gridLatDeg": 0.5
        },
        "radarOptions": {
          "filled": false,
          "polygonsSource": "MEASURES",
          "lineStyle": {
            "width": 2.0,
            "type": "SOLID"
          }
        },
        "sankeyOptions": {
          "curveness": 0.5,
          "linkColorVariant": "GRADIENT",
          "nodeLabelFormatting": {
            "fontSize": 11,
            "fontColor": "#333333",
            "hasBackground": false,
            "backgroundColor": "#D9D9D9BF",
            "fontFamily": "SourceSansPro"
          }
        },
        "gaugeOptions": {
          "min": {
            "sourceType": "Constant",
            "percentile": 0.0,
            "isCustomPercentile": false,
            "constantValue": 0.0,
            "constantDateValue": 0.0,
            "defaultConstantValue": 0.0,
            "ignoreExistingFilters": false
          },
          "max": {
            "sourceType": "Constant",
            "percentile": 0.0,
            "isCustomPercentile": false,
            "constantValue": 0.0,
            "constantDateValue": 0.0,
            "defaultConstantValue": 0.0,
            "ignoreExistingFilters": false
          },
          "axis": {
            "ticksConfig": {
              "mode": "INTERVAL"
            },
            "axisValuesFormatting": {
              "numberFormatting": {
                "multiplier": "Auto",
                "hideTrailingZeros": true,
                "digitGrouping": "DEFAULT",
                "useParenthesesForNegativeValues": false,
                "shouldFormatInPercentage": false,
                "prefix": "",
                "suffix": ""
              },
              "axisTicksFormatting": {
                "fontSize": 12,
                "fontColor": "#333333",
                "hasBackground": false,
                "fontFamily": "SourceSansPro"
              }
            },
            "thickness": 30,
            "customRanges": false
          },
          "displayPointer": false
        },
        "useLiveProcessingIfAvailable": true,
        "legendPlacement": "OUTER_RIGHT",
        "legendFormatting": {
          "fontSize": 11,
          "fontColor": "#333333",
          "hasBackground": false
        },
        "pivotTableOptions": {
          "displayEmptyValues": false,
          "showSidebar": true,
          "measureDisplayMode": "ROWS",
          "displayTotals": {
            "subTotals": {
              "rows": true,
              "columns": true
            },
            "grandTotal": {
              "row": true,
              "column": true
            }
          },
          "tableFormatting": {
            "showRowHeaders": true,
            "showRowMainHeaders": true,
            "rowMainHeaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "rowSubheaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "freezeRowHeaders": false,
            "showColumnHeaders": true,
            "showColumnMainHeaders": true,
            "columnMainHeaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "columnSubheaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "values": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "rowHeaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            },
            "columnHeaders": {
              "fontSize": 12,
              "fontColor": "#333333",
              "hasBackground": false,
              "fontFamily": "SourceSansPro"
            }
          },
          "areRowsExpandedByDefault": true,
          "areColumnExpandedByDefault": true,
          "rowIdByCustomExpandedStatus": {},
          "columnIdByCustomExpandedStatus": {},
          "columnIdByCustomWidth": {}
        },
        "gridlinesOptions": {
          "vertical": {
            "show": false,
            "lineFormatting": {
              "type": "FILLED",
              "color": "#d9d9d9",
              "size": 1
            }
          },
          "horizontal": {
            "show": true,
            "displayAxis": {
              "type": "LEFT_Y_AXIS"
            },
            "lineFormatting": {
              "type": "FILLED",
              "color": "#d9d9d9",
              "size": 1
            }
          }
        }
      },
      "theme": {
        "id": "__dku_dss_default_theme__",
        "name": "DSS Default",
        "colors": [
          "#1f77b4",
          "#aec7e8",
          "#ff7f0e",
          "#ffbb78",
          "#2ca02c",
          "#98df8a",
          "#d62728",
          "#ff9896",
          "#9467bd",
          "#c5b0d5",
          "#8c564b",
          "#c49c94",
          "#e377c2",
          "#f7b6d2",
          "#7f7f7f",
          "#c7c7c7"
        ],
        "themePalettes": {
          "discrete": {
            "id": "default_theme",
            "name": "Theme default",
            "category": "Built-in palettes",
            "colors": [
              "#1f77b4",
              "#aec7e8",
              "#ff7f0e",
              "#ffbb78",
              "#2ca02c",
              "#98df8a",
              "#d62728",
              "#ff9896",
              "#9467bd",
              "#c5b0d5",
              "#8c564b",
              "#c49c94",
              "#e377c2",
              "#f7b6d2",
              "#7f7f7f",
              "#c7c7c7",
              "#bcbd22",
              "#dbdb8d",
              "#17becf",
              "#9edae5",
              "#393b79",
              "#5254a3",
              "#6b6ecf",
              "#9c9ede",
              "#637939",
              "#8ca252",
              "#b5cf6b",
              "#cedb9c",
              "#8c6d31",
              "#bd9e39",
              "#e7ba52",
              "#e7cb94",
              "#843c39",
              "#ad494a",
              "#d6616b",
              "#e7969c",
              "#7b4173",
              "#a55194",
              "#ce6dbd",
              "#de9ed6"
            ],
            "sample": [
              "#1f77b4",
              "#aec7e8",
              "#ff7f0e",
              "#ffbb78",
              "#2ca02c"
            ],
            "isCustom": false
          },
          "continuous": [
            {
              "id": "default_theme",
              "name": "Theme default",
              "category": "Built-in palettes",
              "colors": [
                "#9999CC",
                "#00003c"
              ],
              "isCustom": false
            },
            {
              "id": "default_theme_rev",
              "name": "Theme default (rev)",
              "category": "Built-in palettes",
              "colors": [
                "#00003c",
                "#9999CC"
              ],
              "isCustom": false
            }
          ],
          "diverging": {
            "id": "default_theme",
            "name": "Theme default",
            "category": "Built-in palettes",
            "colors": [
              "rgb(158,1,66)",
              "rgb(213,62,79)",
              "rgb(244,109,67)",
              "rgb(253,174,97)",
              "rgb(254,224,139)",
              "rgb(255,255,191)",
              "rgb(230,245,152)",
              "rgb(171,221,164)",
              "rgb(102,194,165)",
              "rgb(50,136,189)",
              "rgb(94,79,162)"
            ],
            "isCustom": false
          }
        },
        "palettes": {
          "discrete": "default_theme",
          "continuous": "default_theme",
          "diverging": "default_theme"
        },
        "generalFormatting": {
          "fontSize": 11,
          "fontColor": "#333333",
          "hasBackground": false,
          "fontFamily": "SourceSansPro"
        },
        "pageTitleFormatting": {
          "fontSize": 28,
          "fontColor": "#444444",
          "hasBackground": false
        },
        "tileTitleFormatting": {
          "fontSize": 13,
          "fontColor": "#000000",
          "hasBackground": false
        },
        "chartTitleFormatting": {
          "fontSize": 15,
          "fontColor": "#333333",
          "hasBackground": false
        },
        "legendFormatting": {
          "fontSize": 11,
          "fontColor": "#333333",
          "hasBackground": false
        },
        "pageTitleAlignment": "CENTER",
        "backgroundColor": "#FFFFFF",
        "tileSpacing": 8,
        "tileFormatting": {
          "borderOptions": {
            "color": "#CCCCCC",
            "radius": 0,
            "size": 1
          },
          "backgroundOpacity": 1.0
        },
        "isCustomized": false,
        "isBuiltIn": true
      }
    }
  ],
  "interactiveSearch": {
    "savedQueries": []
  },
  "customMeasures": [],
  "reusableDimensions": []
}