code: function getCurrentData() {
      let currentData = storage.getDataByKey(savedDataKey);
  
      if (!currentData) {
          let chartType = getCurrentType();
          let {initialDataType} = defaultConfig[chartType];
  
          currentData = defaultData[chartType][initialDataType];
  
          storage.setDataByKey(savedDataKey, currentData);
      }
  
      return currentData;
  }
docs: Gets the current data either from the store or from the data file.
  If no data is found on the store, one is set from the data file.
  @return {Object}     Data object [data is parsed before it is set]