ggvis - Interactive X axis for bar chart
问题 I'm looking into building a shiny app with ggvis. For this I'm using a small dataset called "company". It contains employee data where each line represents and employee. From a ggvis perspective I'm trying the following: Creating a bar chart that shows distribution for the following variables: Age Role Sex Instead of creating three different bar charts by using the following code: #Barcharts - Role company %>% ggvis(~Role,opacity := 0.8, fill:= "firebrick") %>% layer_bars() %>% scale_ordinal(