Bartlett Beamformer and MVDR Beamformer in the Browser
The resulting interactive figure is shown below (it even works on mobile devices), which is powered by Chart.js. The underlying array is a uniform linear array with half-wavelength inter-element spacing. The snapshots are generated according to the unconditional/stochastic model. They are regenerated when any of the parameters changes. You can tinker with the sliders to see how the two pseudo-spectrum response as the parameters change.