added histograms to viz and enabled swithing between them