Creates cohorts view.