All Questions
Tagged with shinydashboard plotly
63
questions
0
votes
1
answer
53
views
Rendering plotly charts in R shiny App UI
In my mod_page_charts I have two charts as an output TypeA_Chart TypeB_Chart,
In my mod_page_ui have added a filter for charts, where i am attempting to filter charts where the output in tabPanel for ...
0
votes
0
answers
14
views
I need help outputting a renderPLOTLY Heatmap on a SHINY app
The provided code defines the server function for a Shiny application. This application appears to be part of a dashboard aimed at analyzing competitive positioning based on intellectual property in ...
1
vote
1
answer
27
views
R Shiny GGPlotly labels moving to incorrect locations
I am trying to put labels just above the bars in the GGplotly horizontal bar plot. Initially the labels seem to embed in the very top of the plot. I want them to move just to the right of the bar.
I ...
0
votes
0
answers
40
views
Adding states labels to plotly map created using plot_geo
I'm working on an R shiny app and I have a dataframe with States and Population data that I'm trying to plot with plotly.
This is my code:
# create a vector of state abbreviations
abbreviations <- ...
0
votes
0
answers
19
views
Issue with flex dashboard shiny apps
I am working on a portfolio for my class. I am using a flex dashboard, with shiny, to showcase two shiny visualizaitons and 4 plotly charts. The first shiny app's radio button code works for both of ...
1
vote
1
answer
92
views
Shiny & plotly: re-use a plot in a larger modal window & control font sizes
I faced a specific challenge and have come up with a solution. I am uncertain if this is an elegant solution though. Asking for improvements.
Challenge
I am developing a shiny app using shinydashboard ...
0
votes
0
answers
79
views
Shiny: Plotly failing to resize when box size changes
I have a server side UI that responds to whether I want to show a chart, table, or both. The size of the boxes are determined by whether one (width = 12) or both (width = 6) are selected to be shown. ...
0
votes
0
answers
74
views
plotly + shiny error: geom_col requires the following missing aesthetics: [32mx[39m and [32my[39m
I'm new to Shiny/shinydahsboard and am working on a project to get better at it. I keep running into an issue with plotly and goem_bar or geom_col plots. I get the error that the aesthetic is missing ...
0
votes
0
answers
129
views
How to use plotly on bar chart in R Shiny App
I have a bar chart that I want to make interactive in my R Shiny app using plotly.
When it is rendered as a plot, everything is fine using ggplot:
#Bar plots
ggplot(data = df_continents) +
geom_bar(...
0
votes
1
answer
62
views
How to Pass input$variable to renderPlotly in a flexadashboard [duplicate]
newData() is a dynamic generated data frame by a reactive statement based on user inputs:
selectInput("year", "Year", c("2019", "2020", "2021"), ...
0
votes
1
answer
443
views
Adjust plotly output height to box with dynamic height in shiny dashboard
In the shiny app below I have a box which height depends on the number of shiny widgets it includes and a plot. I would like the box height to somehow saved every time it changes and be passed to the ...
1
vote
1
answer
183
views
How can I include a plotly violinplot in shiny?
How can I include the followed violin plot in shiny?
library(plotly)
df <- read.csv("https://raw.githubusercontent.com/plotly/datasets/master/violin_data.csv")
fig <- df %>%
...
1
vote
1
answer
475
views
Is it possible to have more than 4 valuebox in a single row with flexdashboard?
I want to have 6 valuebox in a single row, but it seems that 4 is the maximum. When I try to do 6, the valuebox wouldn't fit. I wonder if this is possible in flexdashboard? Thanks in advance!
1
vote
1
answer
477
views
Plotly scatter plot in Shiny in R; plot is not updating nor is it fully interactive
I am trying to create an interactive scatter plot within Shiny using the plotly library, where I can plot grouped data and move my cursor over each data point. I am new to plotly but have used Shiny ...
1
vote
1
answer
251
views
Layout problems with ggplotly and shinydashboard boxes
I'm having a problem with ggplotly objects simply not staying inside boxes with shiny and shinydashboard. Before something is plotted, everything is right. But when a plot is displayed, the box ...