I want to prepare a ggplot pie chart on the number of cases of each factor. The thing is the factor only shows the type of defect, so most cases only have NA, which ruins the whole look of the chart. How do I get rid of it?

I want to prepare a ggplot pie chart on the number of cases of each factor. The thing is the factor only shows the type of defect, so most cases only have NA, which ruins the whole look of the chart. How do I get rid of it?
