Yes, it is.
Since you are not providing a reproducible example this is the best I can do for you, I hope it helps.
library(tidyverse)
# Sample data on a copy/paste friendly format (replace this with your own data)
sample_df <- data.frame(
stringsAsFactors = FALSE,
organism = c("adult male fathead minnows (Pimephales promelas)",
"adult male fathead minnows (Pimephales promelas)","American starsnail Lithopoma americanum",
"American starsnail Lithopoma americanum",
"American starsnail Lithopoma americanum","Chlorostoma funebralis",
"Chlorostoma funebralis","Chlorostoma funebralis",
"cuttlefish (Sepia officinalis)",
"cuttlefish (Sepia officinalis)","Daphnia magna","Daphnia magna","Daphnia magna",
"Daphnia magna","Daphnia magna",
"embryonic and larval fathead minnow (Pimephales promelas)",
"embryonic and larval fathead minnow (Pimephales promelas)",
"embryonic and larval fathead minnow (Pimephales promelas)",
"fathead minnow (Pimephales promelas)",
"fathead minnow (Pimephales promelas)","fathead minnow (Pimephales promelas)",
"Hybrid striped bass (Morone saxatilis x Morone chrysops)",
"Hybrid striped bass (Morone saxatilis x Morone chrysops)",
"Hybrid striped bass (Morone saxatilis x Morone chrysops)","juvenile meagre (Argyrosomus regius)",
"Lithopoma americanum","Lithopoma americanum","Lithopoma americanum",
"Nucella ostrina","Nucella ostrina","Nucella ostrina",
"Nucella ostrina","oyster drill Urosalpinx cinerea",
"oyster drill Urosalpinx cinerea",
"oyster drill Urosalpinx cinerea","Rainbow trout (Oncorhynchus mykiss)",
"Rainbow trout (Oncorhynchus mykiss)",
"Rainbow trout (Oncorhynchus mykiss)","Rainbow trout (Oncorhynchus mykiss)",
"Tegula fasciatus","Tegula fasciatus","Tegula fasciatus",
"Urosalpinx cinerea","Urosalpinx cinerea",
"Urosalpinx cinerea","Xenopus tropicalis","Xenopus tropicalis",
"Xenopus tropicalis","Xenopus tropicalis",
"Xenopus tropicalis","zebrafish (Danio rerio)","zebrafish (Danio rerio)",
"zebrafish (Danio rerio)","zebrafish (Danio rerio)",
"zebrafish (Danio rerio)","zebrafish (Danio rerio)",
"zebrafish (Danio rerio)","zebrafish larvae (Danio rerio)",
"zebrafish larvae (Danio rerio)",
"zebrafish larvae (Danio rerio)")
)
sample_df %>%
count(organism, name = "percent") %>%
mutate(percent = percent/sum(percent)) %>%
ggplot(aes(x="", y = percent, fill = factor(organism))) +
geom_col(position = 'stack', width = 1) +
geom_text(aes(label = paste(round(percent * 100, 1), "%"), x = 1.3),
position = position_stack(vjust = 0.5)) +
theme_classic() +
theme(plot.title = element_text(hjust=0.5),
axis.line = element_blank(),
axis.text = element_blank(),
axis.ticks = element_blank()) +
labs(fill = "Organism",
x = NULL,
y = NULL,
title = "Pie Chart") +
coord_polar("y")
Created on 2020-08-06 by the reprex package (v0.3.0)