make switch view (pie/bubble chart)