Creating pie chart

Hi,
How can I create a pie chart as in ggplot I don't see any function on it.

library(tidyverse)
library(janitor)

data<-tibble::tribble(
  ~smoker,
    "yes",
    "yes",
    "yes",
    "yes",
    "yes",
    "yes",
     "no",
     "no",
     "no",
     "no",
     "no",
     "no",
     "no"
  )

If you really must ...
Polar coordinates — coord_polar • ggplot2 (tidyverse.org)

1 Like

Thank you for your response..

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.