0

I have the following data and would like to create a chart as shown below:

enter image description here I would like to create a chart in R as shown in the attachment

I need help with the R code to have both expected and processed time in y axis,

c1_data <- actuals %>% select(workflow_code, expected_time, processed_time)

c1_graph <- ggplot(data=c1_data, aes(y=c1_data$expected_time, x=c1_data$workflow_code, fill=c1_data$processed_time)) +
  geom_bar( position="dodge",stat="identity") +
  labs(x="ABC",y="XQA",title="CCC") + 
c1_graph
stefan
  • 46,681
  • 5
  • 18
  • 35
  • 3
    Please don't use images as data [for all of these reasons](https://meta.stackoverflow.com/a/285557/11374827) and include a sample of your data that we can readily use in R. A popular way is to use `dput(my_example_data)` and copy-paste the output to your question. – teunbrand Sep 06 '21 at 09:18

0 Answers0