library(tidyverse)
library(ggforce) # Adds geom_circle
# DataFrame to specify circle and text positions
data <- data.frame(x = c(0, 1, -1),
y = c(-0.5, 1, 1),
tx = c(0, 1.5, -1.5),
ty = c(-1, 1.3, 1.3),
cat = c("Domain Experience", "Math",
"Computer Science"))
ggplot(data, aes(x0 = x , y0 = y, r = 1.5, fill = cat)) +
geom_circle(alpha = 0.25, size = 1, color = "black",show.legend = FALSE) +
geom_text(aes(x = tx , y = ty, label = cat), size = 7)+
annotate(geom="text", x=0, y=1.5, label="Machine\nLearning",color="purple", size = 5) +
annotate(geom="text", x=-0.9, y=0, label="Traditional\nSoftware",color="darkorange", size = 5) +
annotate(geom="text", x=0.9, y=0, label="Traditional\nResearch",color="darkgreen", size = 5) +
annotate(geom="text", x=0, y=0.5, label="Data\nScience",color="blue", size = 5) +
theme_void()