All Questions
Tagged with shinydashboard ggplot2
68
questions
1
vote
1
answer
27
views
Expand shinydashboard box to keep aspect ratio of facet_grid plot using shiny
I have a select input that allows a user to select years to view a ggplot/facet grid plot. The plot will expand with each year. All that is fine but what I want is for the facetted plot to stay a ...
0
votes
1
answer
45
views
Reactive dashboard in R. Problem with the ggplot (won't show the data)
Task: I need to create a reactive dashboard by using ShinyApp with a given dataset. I need to create 3 inputs and at least 1 ggplot as a output.
Dataset: It has 14 columns (User.ID (shows user id), ...
0
votes
0
answers
36
views
Why I can't plot this image in RShniy
I want to plot the assurance curve in RShiny. I tested it in the Rscript and it worked. However, while I implemented into RShiny, it turned out "Error:argument is of length zero". I attached ...
0
votes
1
answer
85
views
Show vertical line on hover in R Shiny dashboard
I would like to make a Shiny dashboard with e.g. a simple line chart like the one in the top left panel on this website:
https://inflation.ihs.ac.at
I know how to make the plot with ggplot2 and how to ...
0
votes
1
answer
189
views
GGPLOT for bar chart that only plots non zero values
Example datasetI am new to R programming and I have a data frame df which has categorical variables w, x, y, z.
I need to use ggplot to plot bar graphs for x and y excluding all zeros.
I created a ...
0
votes
0
answers
36
views
Shiny dashboard not rendering fonts propoerly
I have an issue with how stacked bar plots are rendered in a live instance hosted in ShinyDashboard. The code below is used to display a stacked bar chart in
Below is the code:
EducationBarPlot <- ...
0
votes
0
answers
24
views
select datapoint on ggplot to generate table only shows on desktop/laptop not mobile
Below are the code sample I found on https://mastering-shiny.org/action-graphics.html.
ui <- fluidPage(
plotOutput("plot", brush = "plot_brush"),
tableOutput("data"...
0
votes
1
answer
126
views
How can I add the " difference in percentage" on top of bar in R shiny
I have plotted a bar in R shiny as follow:
Now, I need to show the respective value of y axis and also the difference in percentage between 2nd and 1st bar( decrease rate from right to left in ...
0
votes
1
answer
57
views
ggplot2 mutate error when select variable from uploaded dataset in R shinydashbard
I am trying to plot using ggplot in R shiny. I want to upload data and any variable can be used for plotting. I am trying to keep aes() dynamically. I tried a few examples example 1, but dint work for ...
0
votes
0
answers
35
views
How to reorder bar graph by month? [duplicate]
I am new here and need some help! I am working on a shiny app for a class project and I am almost done with one of my tabs. I need help with sorting my bars. My bars are not in order by month, what I ...
2
votes
1
answer
9k
views
"Warning: Error in : Tibble columns must have compatible sizes." when adding hoverinfo to filtered plot
Updated:
Originally I was attempting to use plotly&ggplot with shinydashboard but have since dropped ggplot. I'm trying to assign hoverinfo data however, I'm now getting an error.
"
Warning: ...
0
votes
1
answer
1k
views
Graphs are not being displayed in a shiny app but they work perfectly well in console [closed]
I have this function which works perfectly well in console. It uses in some data l ,and then processes it to give out some proportion tables in a variable called 'out'. These tables are then plotted ...
4
votes
1
answer
1k
views
dynamically plot multiple variables in shiny dashboard R
I am trying to build a shiny dashboard that shows the user a plot of data over time for multiple countries and multiple variables. The dashboard works pretty well, but I would really appreciate some ...
0
votes
1
answer
155
views
Plotting the correct percentage labels on GGplot through dynamic dependent input filter in shiny R
I'm trying to plot percentage labels on a ggplot that is rendered as per the 3 user input's which are dependent of each other.
My Code/Example Data Set is provided at the end.
What i Have been able to ...
2
votes
1
answer
400
views
Creating dynamic dependent input filter for ggplot2 in shinyR Dashboard and render plot accordingly
I'm trying to create a ggplot that is rendered as per the 3 user input's which should be dependent of each other.
My data Set looks like this :
Week Region Movement_Type ...