python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Updating multiple data attributes with plotly
I am trying to update multiple data attributes in a figure generated via plotly.
This is my script based on this post:
library(plotly)
library(magrittr)
library(data.table)
X <- data.table(x = c(1...
mat
Votes: 0
Answers: 1
Multiple sets of grouped bar charts (on the same plot) without using "transforms" in r plotly
Code:
library(plotly)
library(tidyverse)
df <- data.frame(protein = c("Chicken", "Beef", "Pork", "Fish",
"Chicken", &...
serenity476
Votes: 0
Answers: 1
Display grouped percentages in Likert plot with Plotly R
I have a dataframe like this:
library(tidyverse)
data <- tibble(Question_num = rep(c("Question_1", "Question_2"),each= 5),
Answer = rep(c('Strongly disagree',
...
Paola
Votes: 0
Answers: 1
Add dynamic number of traces to a plot in shiny
Someone requested to add dynamic number of traces to a plot_ly plot. This is based on a recent question that has been deleted. I hope the answer below helps someone else who is looking for an answer ...
YBS
Votes: 0
Answers: 2