Sorry for my english. I want to make a pie chart. But i don't know if it's necessary to inckude width in geom_bar.
Supose any database
ggplot(aes(x = "", y = porcentaje, fill = treat)) +
geom_bar(width = 1, stat = "identity", color = "white") +
coord_polar("y", start = 0)
But if i try with: (or even if i don't include it)
ggplot(aes(x = "", y = porcentaje, fill = gender)) +
geom_bar(width = 999, stat = "identity", color = "white") +
coord_polar("y", start = 0)
The output is the same. Is it important to include it? THANKS