function view( plot, viewer, vtree ) {
	if ( viewer === 'none' ) {
		return;
	}
	if ( viewer === 'stdout' ) {
		return stdout( vtree );
	}
	if ( viewer === 'browser' ) {
		return browser( vtree );
	}
	if ( viewer === 'terminal' ) {
		// TODO: ASCII
		return;
	}
	// viewer === 'window'
	electron( plot, vtree );
}
Generates a plot view.

@private
@param {Plot} plot - plot context
@param {string} viewer - plot viewer
@param {VTree} vtree - virtual
@returns {void}