Skip to main content

All Questions

Tagged with
0 votes
2 answers
739 views

Arrange legends plotly

I want to arrange the legend for my pie chart which I have built using plotly, by default it arranges the legend having the highest distribution first and with lower distribution after it, but i want ...
Abhishek Mishra's user avatar
3 votes
0 answers
331 views

How to get R Plotly pie charts to show legends based on values other than labels

I am plotting a pie chart with R plotly which I want to slice the pie based on column A and color each slice based on column B. I want each slice to show label based on column A, and I want the ...
Bernard's user avatar
  • 73
1 vote
2 answers
485 views

R plot_ly pieplot legend with different column

I have this data frame for buiding a pie plot with plot_ly() function: piedat <- data.frame("phylum" = c("Non-classified genera", "Genera with RA < 1%", "Firmicutes", "Fibrobacteres", "...
ALG's user avatar
  • 192
3 votes
1 answer
3k views

Arrange 4 plotly pie graphs in R

I have four separate pie graphs all with the same specified color scheme (the code is identical apart from the dataframe). The colors are designated because I want to combine them in the 4 grid ...
user avatar