view data by type