beautiful Pie Charts with R

前端 未结 4 1828
余生分开走
余生分开走 2020-12-07 13:34

Let\'s say I have this simple data:

 mydata <- data.frame(group=c(\"A\", \"B\", \"0\", \"AB\"), FR=c(20, 32, 32, 16))

If I want to creat

4条回答
  •  感动是毒
    2020-12-07 14:12

    Some handy tips here:

    Source: Dark Horse Analytics: Salvaging the Pie

    (srsly tho, what's wrong with a bar chart?)

    NOTE: I have no idea what Dark Horse Analytics does. This is just my go-to, anti-pie demo image.

提交回复
热议问题