setwd("/Users/zannaquinsa")
netflix = read.csv("/Users/zannaquinsa/Downloads/netflix_titles.csv")
library(ggplot2)
custom_col = c("red","green", "orange")
 ggplot(netflix, aes(x = "", fill = factor(type))) +
  geom_bar(width = 1) +
  theme(axis.line = element_blank(),
        plot.title = element_text(hjust = 0.5, size = 22)) +
  labs(fill = "class",
       x = NULL,
       y = NULL,
       title = "Pie Chart of Netflix shows") +
  coord_polar(theta = "y", start = 0)+
   scale_fill_manual(values=custom_col)

par(c(2,1))
## Warning in par(c(2, 1)): argument 1 does not name a graphical parameter
## NULL
ggplot(netflix,aes(x ="", fill = factor(type))) +
  geom_bar()

ggplot(netflix, aes(y = "", fill = factor(type))) +
  geom_bar()