function registerVisualization(visualization, preferences) {
    _visualizations2.default.register(visualization, preferences);
  }
Registers a visualization and sets that visualization's
preferences. When creating a visualization, you can set certain
preferences that the user can overwrite similar to Amplitude.
Public Accessor: Amplitude.registerVisualization( visualization, preferences )

@param {object} visualzation A visualization object that gets registered
with Amplitude

@param {object} preferences A JSON object of preferences relating to the
visualization