Hello everyone! I hope someone can help me with this little issue I am having. I have done some research and found that if you use rCharts you can create a bar chart that a client can toggle between viewing the bars as either "stacked" or "grouped". I have seen this called a "MultiBarChart"
If you need clarity, on this website it is shown and entitled "NVD3"
In the example on that website they use the HairEyeColor data frame which seems very well formatted for this process. I have data (a reproducible example is below) where I would like to have date on the x axis of a bar chart, and use the "Weights" and "Running" variables as the bars. In this example I could see how many minutes of exercise occurred for each Running and Weights categories, but also I could stack the bars and see what the total amount of exercise is for that day. Thank you very much for your help! Below is the data frame.
'''
Date <- seq(from = as.Date("2017-01-01"), to = as.Date("2017-01-03"), by = 'day')
Weights <- c(37,42,NA)
Running <- c(60, NA, 90)
df <- data.frame(Dates, Weights, Running)
'''