library(tidyverse)
library(plotly)
library(ggrepel)
pokemon <- read_csv("data/pokemon_1025.csv") %>%
mutate(status = case_when(
is_legendary ~ "legendary",
is_mythical ~ "mythical",
TRUE ~ "regular"))
poke_stats <- pokemon %>%
select(hp, attack, defense, sp_attack, sp_defense, speed)
poke_pca <- prcomp(poke_stats, center = TRUE, scale. = TRUE)

