1. Learn
  2. /
  3. Courses
  4. /
  5. Visualizing Big Data with Trelliscope in R

Exercise

Visualizing Pokemon

Let's try visualizing the pokemon data. There are a lot of variables in the pokemon dataset, so let's only select a few that we really want to use as cognostics.

Instructions

100 XP
  • Reduce the variables in the dataset down to pokemon, type_1, attack, generation_id, and url_image using dplyr's select().
  • Re-specify the variable pokemon so that the Pokemon's names show up as a labels in the display by default by using the cog() function.
  • Specify a new variable, panel, that points trelliscope to the url_image variable for panel plotting.
  • Create the display using trelliscope() and name it "pokemon" and set it to have 3 rows and 6 columns by default.